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.00129/0.001296, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.59 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1505, allocations: 50.54 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003535/0.154, allocations: 1.919 MB / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.1559, allocations: 1.231 MB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.156, allocations: 11.94 kB / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005452/0.1566, allocations: 147.5 kB / 362.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.1569, allocations: 155.4 kB / 362.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.1574, allocations: 186.9 kB / 362.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.1577, allocations: 203.4 kB / 362.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1578, allocations: 41.59 kB / 362.8 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.1579, allocations: 87.61 kB / 362.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.158, allocations: 75.62 kB / 362.9 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.1581, allocations: 12 kB / 363 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.1582, allocations: 63.91 kB / 363 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.812e-05/0.1583, allocations: 43.83 kB / 363.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.009e-05/0.1584, allocations: 79.48 kB / 363.1 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.1587, allocations: 219.2 kB / 363.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1587, allocations: 0 / 363.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1587, allocations: 0 / 363.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1587, allocations: 0 / 363.4 MB, free: 8.867 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.0007334/0.1594, allocations: 0.5273 MB / 363.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1595, allocations: 8.031 kB / 363.9 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/0.1595, allocations: 28.59 kB / 363.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.1599, allocations: 278.7 kB / 364.2 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.1599, allocations: 8.375 kB / 364.2 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.1599, allocations: 12.11 kB / 364.2 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/0.1603, allocations: 171.6 kB / 364.4 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1603, allocations: 0 / 364.4 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.1603, allocations: 4 kB / 364.4 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1603, allocations: 4 kB / 364.4 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1604, allocations: 35.92 kB / 364.4 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.1609, allocations: 379.1 kB / 364.8 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.1612, allocations: 130.5 kB / 364.9 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.191e-05/0.1613, allocations: 59.42 kB / 365 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.1613, allocations: 4 kB / 365 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.1615, allocations: 75.33 kB / 365.1 MB, free: 6.922 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.813e-06/0.1615, allocations: 4 kB / 365.1 MB, free: 6.918 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003968/0.1619, allocations: 161.2 kB / 365.2 MB, free: 6.754 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.824e-05/0.162, allocations: 162.2 kB / 365.4 MB, free: 6.559 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.1623, allocations: 278.6 kB / 365.6 MB, free: 6.277 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1623, allocations: 29.69 kB / 365.7 MB, free: 6.242 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.044e-05/0.1624, allocations: 120.8 kB / 365.8 MB, free: 6.117 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.1625, allocations: 23.88 kB / 365.8 MB, free: 6.094 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.1625, allocations: 37.61 kB / 365.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1626, allocations: 338.7 kB / 366.2 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.28e-05/0.1627, allocations: 19.94 kB / 366.2 MB, free: 5.691 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.47e-05/0.1628, allocations: 87.7 kB / 366.3 MB, free: 5.578 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.163, allocations: 94.19 kB / 366.4 MB, free: 5.465 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.163, allocations: 8.031 kB / 366.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002105/0.1632, allocations: 129.3 kB / 366.5 MB, free: 5.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1632, allocations: 4 kB / 366.5 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1632, allocations: 4 kB / 366.5 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1632, allocations: 0 / 366.5 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.025e-05/0.1633, allocations: 12 kB / 366.5 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1633, allocations: 11.92 kB / 366.5 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.438e-05/0.1634, allocations: 19.97 kB / 366.6 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1635, allocations: 8 kB / 366.6 MB, free: 5.266 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.0001293/0.1636, allocations: 145.8 kB / 366.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.1637, allocations: 73.44 kB / 366.8 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.503e-05/0.1638, allocations: 25.7 kB / 366.8 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1638, allocations: 4 kB / 366.8 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1638, allocations: 0 / 366.8 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.1638, allocations: 8.031 kB / 366.8 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.164, allocations: 233.4 kB / 367.1 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.164, allocations: 4 kB / 367.1 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.1641, allocations: 11.94 kB / 367.1 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1641, allocations: 0 / 367.1 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.1641, allocations: 7.984 kB / 367.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1641, allocations: 0 / 367.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1641, allocations: 0 / 367.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.1644, allocations: 179.3 kB / 367.2 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.988e-05/0.1645, allocations: 112.7 kB / 367.4 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.1645, allocations: 8.062 kB / 367.4 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.481e-05/0.1646, allocations: 8 kB / 367.4 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.1646, allocations: 7.984 kB / 367.4 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.1646, allocations: 7.938 kB / 367.4 MB, free: 4.336 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.1648, allocations: 210 kB / 367.6 MB, free: 4.133 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1648, allocations: 0 / 367.6 MB, free: 4.133 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1651, allocations: 31.98 kB / 367.6 MB, free: 4.102 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.0009746/0.1661, allocations: 408.5 kB / 368 MB, free: 3.836 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.1663, allocations: 87.84 kB / 368.1 MB, free: 3.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1663, allocations: 4.375 kB / 368.1 MB, free: 3.746 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.918e-05/0.1664, allocations: 23.98 kB / 368.1 MB, free: 3.723 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.1669, allocations: 81.22 kB / 368.2 MB, free: 3.648 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.1674, allocations: 334 kB / 368.5 MB, free: 3.285 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.1677, allocations: 0.7362 MB / 369.3 MB, free: 2.523 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.723e-05/0.1678, allocations: 33.5 kB / 369.3 MB, free: 2.488 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.1679, allocations: 15.44 kB / 369.3 MB, free: 2.473 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1679, allocations: 0 / 369.3 MB, free: 2.473 MB / 302.1 MB Notification: Performance of Templates: time 0.1728/0.3407, allocations: 2.675 MB / 372 MB, free: 19.8 MB / 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/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