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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 88.77 kB / 16.31 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 180.6 kB / 17.21 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 223.3 MB / 241.2 MB, free: 5.426 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.0004523, allocations: 6.844 kB / 300.8 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1601, allocations: 50.43 MB / 351.2 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003507/0.1637, allocations: 1.561 MB / 352.8 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.1661, allocations: 0.9867 MB / 353.8 MB, free: 9.137 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.1664, allocations: 0 / 353.8 MB, free: 9.137 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009127/0.1673, allocations: 142.9 kB / 353.9 MB, free: 9 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004814/0.1678, allocations: 87.7 kB / 354 MB, free: 8.914 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009712/0.1688, allocations: 182.1 kB / 354.2 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004139/0.1692, allocations: 159.5 kB / 354.4 MB, free: 8.582 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.1694, allocations: 29.53 kB / 354.4 MB, free: 8.555 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.1697, allocations: 67.64 kB / 354.4 MB, free: 8.488 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.1699, allocations: 63.69 kB / 354.5 MB, free: 8.426 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.1699, allocations: 0 / 354.5 MB, free: 8.426 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.1701, allocations: 39.98 kB / 354.5 MB, free: 8.387 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1703, allocations: 35.83 kB / 354.6 MB, free: 8.352 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.1704, allocations: 49.64 kB / 354.6 MB, free: 8.297 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.1707, allocations: 155.6 kB / 354.8 MB, free: 8.145 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.1708, allocations: 0 / 354.8 MB, free: 8.145 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1708, allocations: 3.938 kB / 354.8 MB, free: 8.141 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.1708, allocations: 0 / 354.8 MB, free: 8.141 MB / 286.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.000906/0.1717, allocations: 480.2 kB / 355.3 MB, free: 7.617 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.1718, allocations: 12.03 kB / 355.3 MB, free: 7.605 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.002e-05/0.1719, allocations: 27.61 kB / 355.3 MB, free: 7.578 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.1722, allocations: 253.7 kB / 355.5 MB, free: 7.293 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.1723, allocations: 7.938 kB / 355.6 MB, free: 7.285 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.1723, allocations: 11.98 kB / 355.6 MB, free: 7.273 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.1726, allocations: 138.7 kB / 355.7 MB, free: 7.113 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1727, allocations: 0 / 355.7 MB, free: 7.113 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1727, allocations: 8 kB / 355.7 MB, free: 7.105 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.1727, allocations: 4 kB / 355.7 MB, free: 7.102 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1728, allocations: 35.88 kB / 355.7 MB, free: 7.066 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.1734, allocations: 358.4 kB / 356.1 MB, free: 6.66 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.1736, allocations: 115.9 kB / 356.2 MB, free: 6.52 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.393e-05/0.1737, allocations: 38.56 kB / 356.2 MB, free: 6.473 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.1737, allocations: 8 kB / 356.3 MB, free: 6.465 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.1739, allocations: 83.28 kB / 356.3 MB, free: 6.371 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.724e-06/0.174, allocations: 0 / 356.3 MB, free: 6.371 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.000403/0.1744, allocations: 133.4 kB / 356.5 MB, free: 6.234 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.1745, allocations: 140.7 kB / 356.6 MB, free: 6.066 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.1748, allocations: 268.8 kB / 356.9 MB, free: 5.797 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.1748, allocations: 25.7 kB / 356.9 MB, free: 5.766 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.175, allocations: 116.1 kB / 357 MB, free: 5.648 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.175, allocations: 19.8 kB / 357 MB, free: 5.629 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-06/0.175, allocations: 0 / 357 MB, free: 5.629 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1752, allocations: 326.8 kB / 357.3 MB, free: 5.301 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.1752, allocations: 19.98 kB / 357.4 MB, free: 5.281 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.576e-05/0.1753, allocations: 73.94 kB / 357.4 MB, free: 5.188 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.054e-05/0.1754, allocations: 23.98 kB / 357.5 MB, free: 5.164 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1754, allocations: 7.938 kB / 357.5 MB, free: 5.156 MB / 286.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002096/0.1757, allocations: 109.5 kB / 357.6 MB, free: 5.043 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1757, allocations: 7.953 kB / 357.6 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1757, allocations: 4 kB / 357.6 MB, free: 5.031 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1757, allocations: 7.969 kB / 357.6 MB, free: 5.023 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.968e-05/0.1758, allocations: 15.94 kB / 357.6 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1758, allocations: 0 / 357.6 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.762e-05/0.1759, allocations: 8 kB / 357.6 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.1759, allocations: 7.984 kB / 357.6 MB, free: 4.992 MB / 286.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 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.176, allocations: 141.9 kB / 357.8 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-05/0.1761, allocations: 69.34 kB / 357.8 MB, free: 4.77 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.874e-05/0.1762, allocations: 29.66 kB / 357.9 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1762, allocations: 3.938 kB / 357.9 MB, free: 4.73 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1762, allocations: 4 kB / 357.9 MB, free: 4.727 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.1762, allocations: 0 / 357.9 MB, free: 4.727 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.1765, allocations: 221.7 kB / 358.1 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1765, allocations: 0 / 358.1 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.1765, allocations: 8.297 kB / 358.1 MB, free: 4.453 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.1765, allocations: 8.062 kB / 358.1 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1765, allocations: 0 / 358.1 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.1765, allocations: 11.89 kB / 358.1 MB, free: 4.434 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1765, allocations: 4 kB / 358.1 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.1768, allocations: 146.6 kB / 358.3 MB, free: 4.262 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.973e-05/0.1769, allocations: 116.8 kB / 358.4 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.1769, allocations: 4 kB / 358.4 MB, free: 4.125 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.205e-05/0.177, allocations: 7.984 kB / 358.4 MB, free: 4.117 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.1771, allocations: 7.953 kB / 358.4 MB, free: 4.109 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.1771, allocations: 8 kB / 358.4 MB, free: 4.102 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.1773, allocations: 192.5 kB / 358.6 MB, free: 3.914 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1773, allocations: 0 / 358.6 MB, free: 3.914 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1775, allocations: 27.98 kB / 358.6 MB, free: 3.887 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009983/0.1786, allocations: 424.4 kB / 359 MB, free: 3.625 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.1788, allocations: 63.91 kB / 359.1 MB, free: 3.562 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1788, allocations: 0 / 359.1 MB, free: 3.562 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.752e-05/0.1789, allocations: 27.94 kB / 359.1 MB, free: 3.535 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.1792, allocations: 59.8 kB / 359.2 MB, free: 3.48 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.1798, allocations: 340.5 kB / 359.5 MB, free: 3.109 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.1802, allocations: 0.7282 MB / 360.2 MB, free: 2.355 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.807e-05/0.1803, allocations: 25.52 kB / 360.3 MB, free: 2.332 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.1803, allocations: 27.42 kB / 360.3 MB, free: 2.305 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1804, allocations: 0 / 360.3 MB, free: 2.305 MB / 286.1 MB Notification: Performance of Templates: time 0.005799/0.1862, allocations: 2.204 MB / 362.5 MB, free: 128 kB / 286.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (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) 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) Reference file matches