Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 124 kB / 18.46 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 213.6 kB / 21.42 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 51.92 kB / 374.1 MB, free: 9.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1158, allocations: 53.33 MB / 427.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003099/0.1189, allocations: 1.576 MB / 429.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.12, allocations: 0.5727 MB / 429.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.1202, allocations: 0 / 429.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.284e-05/0.1202, allocations: 11.88 kB / 429.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.1203, allocations: 3.938 kB / 429.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.1207, allocations: 67.73 kB / 429.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.1208, allocations: 47.84 kB / 429.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.1209, allocations: 8.188 kB / 429.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.1211, allocations: 31.84 kB / 429.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.1211, allocations: 19.86 kB / 429.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.1211, allocations: 8 kB / 429.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.069e-05/0.1212, allocations: 4 kB / 429.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.1212, allocations: 15.92 kB / 429.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.1213, allocations: 27.81 kB / 429.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.1214, allocations: 55.73 kB / 429.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1214, allocations: 7.938 kB / 429.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1214, allocations: 3.938 kB / 429.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1214, allocations: 0 / 429.9 MB, free: 1.895 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005941/0.122, allocations: 391 kB / 430.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1221, allocations: 12.03 kB / 430.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.1222, allocations: 12.89 kB / 430.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.1226, allocations: 204.2 kB / 430.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.1226, allocations: 384 / 430.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.1226, allocations: 4.375 kB / 430.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.1229, allocations: 113.2 kB / 430.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1229, allocations: 0 / 430.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.1229, allocations: 0 / 430.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1229, allocations: 0 / 430.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.619e-05/0.123, allocations: 19.92 kB / 430.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.1233, allocations: 265.8 kB / 430.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.406e-05/0.1234, allocations: 45.22 kB / 431 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.1235, allocations: 17.7 kB / 431 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.1235, allocations: 4 kB / 431 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.1235, allocations: 34.56 kB / 431 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.1235, allocations: 0 / 431 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002534/0.1238, allocations: 69.56 kB / 431.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.1239, allocations: 81.05 kB / 431.2 MB, free: 444 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.124, allocations: 143.4 kB / 431.3 MB, free: 292 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.124, allocations: 25.7 kB / 431.3 MB, free: 260 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.1241, allocations: 92.38 kB / 431.4 MB, free: 164 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.1241, allocations: 7.953 kB / 431.4 MB, free: 156 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.1241, allocations: 17.72 kB / 431.5 MB, free: 132 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1243, allocations: 318.8 kB / 431.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.166e-05/0.1243, allocations: 4 kB / 431.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.727e-05/0.1244, allocations: 29.64 kB / 431.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.479e-05/0.1245, allocations: 29.77 kB / 431.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1245, allocations: 0 / 431.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001373/0.1246, allocations: 61.58 kB / 431.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1246, allocations: 4 kB / 431.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1246, allocations: 0 / 431.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1246, allocations: 0 / 431.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/0.1247, allocations: 7.984 kB / 431.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1247, allocations: 8 kB / 431.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.355e-05/0.1248, allocations: 4.062 kB / 431.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.1248, allocations: 0 / 431.9 MB, free: 15.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.32e-05/0.1249, allocations: 121.8 kB / 432 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-05/0.1249, allocations: 41.58 kB / 432.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.125, allocations: 15.81 kB / 432.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.125, allocations: 0 / 432.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.125, allocations: 4 kB / 432.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.125, allocations: 0 / 432.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.1252, allocations: 177.6 kB / 432.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1252, allocations: 0 / 432.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/0.1252, allocations: 11.98 kB / 432.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1252, allocations: 0 / 432.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.1252, allocations: 0 / 432.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1252, allocations: 0 / 432.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1252, allocations: 0 / 432.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.1254, allocations: 168.2 kB / 432.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.053e-05/0.1255, allocations: 93.05 kB / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.1255, allocations: 0 / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-05/0.1256, allocations: 4 kB / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.1256, allocations: 3.938 kB / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.1256, allocations: 4 kB / 432.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.5e-05/0.1257, allocations: 108.6 kB / 432.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1257, allocations: 0 / 432.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000226/0.1259, allocations: 4 kB / 432.7 MB, free: 14.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001261/0.1261, allocations: 103.8 kB / 432.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.1262, allocations: 15.98 kB / 432.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.1262, allocations: 4 kB / 432.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.858e-05/0.1263, allocations: 15.92 kB / 432.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.1267, allocations: 23.94 kB / 432.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003977/0.1271, allocations: 197.4 kB / 433 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.1274, allocations: 0.6885 MB / 433.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.1274, allocations: 7.438 kB / 433.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1274, allocations: 0 / 433.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of Templates: time 0.002316/0.1298, allocations: 0.752 MB / 434.5 MB, free: 12.93 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.17602495799656]