Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002076/0.002077, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002284/0.002284, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.624/1.624, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 60.83 kB / 307 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.161, allocations: 50.54 MB / 357.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004751/0.1658, allocations: 1.93 MB / 359.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.1683, allocations: 1.235 MB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.1686, allocations: 7.938 kB / 360.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007705/0.1693, allocations: 151.5 kB / 360.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000483/0.1698, allocations: 151.4 kB / 361 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006105/0.1705, allocations: 171.4 kB / 361.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.1708, allocations: 207.5 kB / 361.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.1709, allocations: 41.64 kB / 361.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.1711, allocations: 87.56 kB / 361.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.1712, allocations: 71.69 kB / 361.6 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.1713, allocations: 12 kB / 361.6 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.1714, allocations: 51.91 kB / 361.6 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.542e-05/0.1715, allocations: 43.84 kB / 361.7 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.1717, allocations: 83.47 kB / 361.8 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.172, allocations: 223.5 kB / 362 MB, free: 9.539 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.172, allocations: 0 / 362 MB, free: 9.539 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1721, allocations: 0 / 362 MB, free: 9.539 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.1721, allocations: 0 / 362 MB, free: 9.539 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009358/0.173, allocations: 0.5272 MB / 362.5 MB, free: 8.957 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1731, allocations: 8.031 kB / 362.5 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.1731, allocations: 24.66 kB / 362.5 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.1735, allocations: 266.8 kB / 362.8 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.1736, allocations: 16.38 kB / 362.8 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.1736, allocations: 8.125 kB / 362.8 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.174, allocations: 163.5 kB / 363 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.174, allocations: 4 kB / 363 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.174, allocations: 4 kB / 363 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1741, allocations: 0 / 363 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.1742, allocations: 43.86 kB / 363 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006246/0.1748, allocations: 379.2 kB / 363.4 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.1751, allocations: 138.5 kB / 363.5 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.1752, allocations: 59.42 kB / 363.6 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.1753, allocations: 0 / 363.6 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.1755, allocations: 71.33 kB / 363.7 MB, free: 7.605 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.1755, allocations: 4 kB / 363.7 MB, free: 7.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.000432/0.1759, allocations: 161.3 kB / 363.8 MB, free: 7.438 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/0.1761, allocations: 170.1 kB / 364 MB, free: 7.234 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.1764, allocations: 278.6 kB / 364.3 MB, free: 6.953 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.1764, allocations: 29.7 kB / 364.3 MB, free: 6.918 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1765, allocations: 116.4 kB / 364.4 MB, free: 6.797 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.1766, allocations: 16.19 kB / 364.4 MB, free: 6.781 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.107e-05/0.1767, allocations: 41.61 kB / 364.5 MB, free: 6.734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.1769, allocations: 334.8 kB / 364.8 MB, free: 6.398 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.393e-05/0.1769, allocations: 20 kB / 364.8 MB, free: 6.379 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1771, allocations: 90.89 kB / 364.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.1772, allocations: 93.97 kB / 365 MB, free: 6.152 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1772, allocations: 0 / 365 MB, free: 6.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002391/0.1775, allocations: 129.4 kB / 365.1 MB, free: 6.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1775, allocations: 4 kB / 365.1 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1775, allocations: 0 / 365.1 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.1775, allocations: 7.938 kB / 365.1 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.095e-05/0.1776, allocations: 16.3 kB / 365.1 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1776, allocations: 0 / 365.1 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.051e-05/0.1777, allocations: 23.78 kB / 365.2 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.1778, allocations: 8.188 kB / 365.2 MB, free: 5.961 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001496/0.1779, allocations: 145.8 kB / 365.3 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.178, allocations: 77.44 kB / 365.4 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.889e-05/0.1781, allocations: 25.7 kB / 365.4 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1781, allocations: 0 / 365.4 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1781, allocations: 4 kB / 365.4 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.1781, allocations: 3.938 kB / 365.4 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.1784, allocations: 237.5 kB / 365.7 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1784, allocations: 4.094 kB / 365.7 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/0.1784, allocations: 11.92 kB / 365.7 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1784, allocations: 7.984 kB / 365.7 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.1784, allocations: 0 / 365.7 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1785, allocations: 4 kB / 365.7 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1785, allocations: 3.938 kB / 365.7 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.1788, allocations: 171.4 kB / 365.9 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.1789, allocations: 116.8 kB / 366 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.1789, allocations: 0 / 366 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.636e-05/0.179, allocations: 7.984 kB / 366 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.1791, allocations: 8 kB / 366 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.1791, allocations: 7.938 kB / 366 MB, free: 5.031 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002191/0.1793, allocations: 206 kB / 366.2 MB, free: 4.832 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1793, allocations: 0 / 366.2 MB, free: 4.832 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1796, allocations: 39.98 kB / 366.2 MB, free: 4.793 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.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 (11): * Single equations (assignments): 9 * 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.001554/0.1811, allocations: 422 kB / 366.6 MB, free: 4.512 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002615/0.1814, allocations: 79.84 kB / 366.7 MB, free: 4.434 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1814, allocations: 0 / 366.7 MB, free: 4.434 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.429e-05/0.1815, allocations: 24.36 kB / 366.7 MB, free: 4.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.182, allocations: 76.84 kB / 366.8 MB, free: 4.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006644/0.1826, allocations: 342.2 kB / 367.2 MB, free: 3.969 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.183, allocations: 0.7398 MB / 367.9 MB, free: 3.203 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.475e-05/0.1831, allocations: 25.78 kB / 367.9 MB, free: 3.176 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.1832, allocations: 19.44 kB / 367.9 MB, free: 3.156 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1832, allocations: 0 / 367.9 MB, free: 3.156 MB / 302.1 MB Notification: Performance of Templates: time 0.00702/0.1902, allocations: 2.699 MB / 370.6 MB, free: 500 kB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches