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.001388/0.001388, allocations: 103.3 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001476/0.001476, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.619/1.619, allocations: 227.4 MB / 246.3 MB, free: 9.109 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002825/0.002825, allocations: 57.7 kB / 306.3 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1493, allocations: 50.54 MB / 356.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003613/0.153, allocations: 1.988 MB / 358.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.1551, allocations: 1.224 MB / 360.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.1553, allocations: 7.938 kB / 360.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006478/0.156, allocations: 139.6 kB / 360.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.1563, allocations: 135.6 kB / 360.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.1568, allocations: 159 kB / 360.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.1571, allocations: 199.4 kB / 360.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1573, allocations: 33.66 kB / 360.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.1574, allocations: 75.64 kB / 360.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.1575, allocations: 71.62 kB / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.1575, allocations: 7.938 kB / 360.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1577, allocations: 43.97 kB / 360.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.719e-05/0.1577, allocations: 39.84 kB / 361 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.696e-05/0.1579, allocations: 79.47 kB / 361 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.1581, allocations: 215.5 kB / 361.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1582, allocations: 0 / 361.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1582, allocations: 0 / 361.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.1582, allocations: 0 / 361.2 MB, free: 9.844 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.0008779/0.1591, allocations: 0.5234 MB / 361.8 MB, free: 9.266 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1591, allocations: 12.03 kB / 361.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.639e-05/0.1592, allocations: 24.66 kB / 361.8 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.1595, allocations: 270.8 kB / 362.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.1596, allocations: 4.375 kB / 362.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.1596, allocations: 12.12 kB / 362.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.16, allocations: 171.6 kB / 362.3 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.16, allocations: 0 / 362.3 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.16, allocations: 0 / 362.3 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.16, allocations: 4 kB / 362.3 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.1602, allocations: 47.91 kB / 362.3 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.1607, allocations: 383.1 kB / 362.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.161, allocations: 130.5 kB / 362.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.1611, allocations: 59.41 kB / 362.9 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.1612, allocations: 7.938 kB / 362.9 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.1614, allocations: 75.33 kB / 362.9 MB, free: 7.898 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.1614, allocations: 0 / 362.9 MB, free: 7.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004304/0.1618, allocations: 157.2 kB / 363.1 MB, free: 7.738 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.1619, allocations: 166.6 kB / 363.3 MB, free: 7.539 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.1623, allocations: 278.6 kB / 363.5 MB, free: 7.258 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.1623, allocations: 29.7 kB / 363.6 MB, free: 7.223 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1624, allocations: 120.4 kB / 363.7 MB, free: 7.098 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.1625, allocations: 19.75 kB / 363.7 MB, free: 7.078 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/0.1625, allocations: 37.61 kB / 363.7 MB, free: 7.035 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1627, allocations: 330.8 kB / 364.1 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.907e-05/0.1628, allocations: 23.98 kB / 364.1 MB, free: 6.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.1629, allocations: 91.64 kB / 364.2 MB, free: 6.562 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.1631, allocations: 89.98 kB / 364.3 MB, free: 6.453 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1631, allocations: 0 / 364.3 MB, free: 6.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002427/0.1633, allocations: 133.3 kB / 364.4 MB, free: 6.316 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1633, allocations: 4 kB / 364.4 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.1634, allocations: 4 kB / 364.4 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1634, allocations: 4.188 kB / 364.4 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/0.1635, allocations: 12 kB / 364.4 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.1635, allocations: 4 kB / 364.4 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/0.1636, allocations: 23.77 kB / 364.4 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1636, allocations: 8.25 kB / 364.4 MB, free: 6.258 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.0001508/0.1638, allocations: 142.7 kB / 364.6 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.1639, allocations: 77.44 kB / 364.7 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.758e-05/0.1639, allocations: 29.8 kB / 364.7 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.164, allocations: 4 kB / 364.7 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.164, allocations: 0 / 364.7 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.164, allocations: 3.938 kB / 364.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.1642, allocations: 233.5 kB / 364.9 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1642, allocations: 0 / 364.9 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/0.1643, allocations: 11.94 kB / 364.9 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1643, allocations: 0 / 364.9 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.1643, allocations: 4 kB / 364.9 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1643, allocations: 0 / 364.9 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1643, allocations: 11.92 kB / 365 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.1646, allocations: 167.4 kB / 365.1 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.1647, allocations: 116.7 kB / 365.2 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.1647, allocations: 4 kB / 365.2 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.625e-05/0.1648, allocations: 8 kB / 365.2 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.1649, allocations: 11.92 kB / 365.3 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.1649, allocations: 11.94 kB / 365.3 MB, free: 5.328 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002194/0.1651, allocations: 202 kB / 365.5 MB, free: 5.133 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1651, allocations: 4 kB / 365.5 MB, free: 5.129 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.1654, allocations: 31.98 kB / 365.5 MB, free: 5.098 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.001552/0.167, allocations: 423.9 kB / 365.9 MB, free: 4.812 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002424/0.1672, allocations: 79.84 kB / 366 MB, free: 4.734 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1672, allocations: 0 / 366 MB, free: 4.734 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.485e-05/0.1673, allocations: 27.98 kB / 366 MB, free: 4.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.1678, allocations: 75.98 kB / 366.1 MB, free: 4.637 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006382/0.1684, allocations: 384.4 kB / 366.5 MB, free: 4.227 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.1688, allocations: 0.7323 MB / 367.2 MB, free: 3.469 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.588e-05/0.1689, allocations: 25.53 kB / 367.2 MB, free: 3.441 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.169, allocations: 27.42 kB / 367.3 MB, free: 3.414 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.169, allocations: 0 / 367.3 MB, free: 3.414 MB / 302.1 MB Notification: Performance of Templates: time 0.00662/0.1756, allocations: 2.558 MB / 369.8 MB, free: 0.8828 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 -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