Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 120 kB / 17.74 MB, free: 5.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001772/0.001773, allocations: 186.9 kB / 20.68 MB, free: 2.426 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 222.9 MB / 246.4 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 51.92 kB / 358 MB, free: 8.328 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1587, allocations: 49.43 MB / 407.4 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.005705/0.1645, allocations: 1.885 MB / 409.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.1671, allocations: 1.068 MB / 410.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002789/0.1674, allocations: 7.875 kB / 410.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.1685, allocations: 151.5 kB / 410.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005175/0.169, allocations: 111.6 kB / 410.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009915/0.17, allocations: 215.2 kB / 410.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000454/0.1705, allocations: 183.5 kB / 411 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.1707, allocations: 37.45 kB / 411.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.1709, allocations: 71.7 kB / 411.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.1711, allocations: 71.69 kB / 411.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.1712, allocations: 12 kB / 411.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.1714, allocations: 59.91 kB / 411.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1715, allocations: 39.84 kB / 411.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.1717, allocations: 67.55 kB / 411.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005766/0.1722, allocations: 203.1 kB / 411.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1723, allocations: 4 kB / 411.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1723, allocations: 0 / 411.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.1723, allocations: 0 / 411.6 MB, free: 2.68 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001471/0.1738, allocations: 0.5116 MB / 412.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.176e-05/0.1739, allocations: 15.89 kB / 412.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.174, allocations: 20.8 kB / 412.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006414/0.1746, allocations: 267 kB / 412.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.1747, allocations: 8.359 kB / 412.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.1747, allocations: 12.12 kB / 412.4 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.1752, allocations: 146.7 kB / 412.5 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.1752, allocations: 0 / 412.5 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.1753, allocations: 0 / 412.5 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.1753, allocations: 4 kB / 412.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.1755, allocations: 35.98 kB / 412.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008351/0.1763, allocations: 366.4 kB / 412.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.1766, allocations: 103.9 kB / 413 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.1767, allocations: 50.56 kB / 413.1 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.1768, allocations: 0 / 413.1 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.177, allocations: 75.28 kB / 413.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.736e-06/0.177, allocations: 0 / 413.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004986/0.1775, allocations: 141.6 kB / 413.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.1777, allocations: 132.5 kB / 413.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.1781, allocations: 268.9 kB / 413.7 MB, free: 288 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.1781, allocations: 25.7 kB / 413.7 MB, free: 256 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.1782, allocations: 120.1 kB / 413.8 MB, free: 132 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.1783, allocations: 23.77 kB / 413.9 MB, free: 108 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.646e-05/0.1784, allocations: 25.72 kB / 413.9 MB, free: 76 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.1786, allocations: 338.9 kB / 414.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.641e-05/0.1787, allocations: 23.98 kB / 414.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1788, allocations: 65.94 kB / 414.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.179, allocations: 88.25 kB / 414.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.179, allocations: 0 / 414.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002971/0.1793, allocations: 105.5 kB / 414.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.1794, allocations: 8 kB / 414.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.1794, allocations: 3.984 kB / 414.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.1794, allocations: 128 / 414.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1795, allocations: 20 kB / 414.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1796, allocations: 0 / 414.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.728e-05/0.1797, allocations: 15.89 kB / 414.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.1797, allocations: 4.297 kB / 414.5 MB, free: 15.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0002198/0.1799, allocations: 153.8 kB / 414.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.18, allocations: 57.55 kB / 414.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.855e-05/0.1801, allocations: 29.69 kB / 414.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.1801, allocations: 8.062 kB / 414.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.1801, allocations: 0 / 414.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.1802, allocations: 3.938 kB / 414.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.1805, allocations: 229.5 kB / 415 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1805, allocations: 0 / 415 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/0.1805, allocations: 11.98 kB / 415 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.1805, allocations: 0 / 415 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1805, allocations: 0 / 415 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.1806, allocations: 4 kB / 415 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1806, allocations: 0 / 415 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.1809, allocations: 154.6 kB / 415.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.181, allocations: 116.9 kB / 415.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.181, allocations: 4 kB / 415.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.861e-05/0.1811, allocations: 4 kB / 415.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.1812, allocations: 7.984 kB / 415.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.1812, allocations: 11.94 kB / 415.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000229/0.1814, allocations: 196.5 kB / 415.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1814, allocations: 0 / 415.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.1817, allocations: 31.94 kB / 415.5 MB, free: 14.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001743/0.1835, allocations: 415.8 kB / 416 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002901/0.1838, allocations: 67.91 kB / 416 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.1838, allocations: 4.25 kB / 416 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.922e-05/0.1839, allocations: 27.94 kB / 416.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.1844, allocations: 63.8 kB / 416.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008594/0.1853, allocations: 304.5 kB / 416.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006554/0.186, allocations: 0.7359 MB / 417.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.1861, allocations: 21.53 kB / 417.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.394e-05/0.1862, allocations: 23.36 kB / 417.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1862, allocations: 0 / 417.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of Templates: time 0.008762/0.1949, allocations: 2.422 MB / 419.6 MB, free: 10.31 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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: 5.169547479599714]