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.001059/0.001059, allocations: 98.61 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 206 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.639/1.639, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002835, allocations: 4 kB / 307.7 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1456, allocations: 51.53 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.002501/0.1481, allocations: 1.634 MB / 360.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.1502, allocations: 1.189 MB / 362.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.1503, allocations: 7.938 kB / 362.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005526/0.1509, allocations: 131.7 kB / 362.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.1512, allocations: 139.5 kB / 362.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.1516, allocations: 151.7 kB / 362.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.1519, allocations: 203.4 kB / 362.7 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.152, allocations: 33.66 kB / 362.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.824e-05/0.1521, allocations: 63.66 kB / 362.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.1522, allocations: 71.62 kB / 362.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.1523, allocations: 4 kB / 362.9 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.1524, allocations: 51.89 kB / 362.9 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.1525, allocations: 35.84 kB / 363 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.557e-05/0.1526, allocations: 97.19 kB / 363.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.1528, allocations: 211.5 kB / 363.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1529, allocations: 0 / 363.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1529, allocations: 0 / 363.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1529, allocations: 0 / 363.3 MB, free: 9.262 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.0007248/0.1536, allocations: 0.4962 MB / 363.8 MB, free: 8.711 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1537, allocations: 12.03 kB / 363.8 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.17e-05/0.1537, allocations: 16.75 kB / 363.8 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.1541, allocations: 274.8 kB / 364.1 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1541, allocations: 8.375 kB / 364.1 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.1541, allocations: 16.11 kB / 364.1 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.1545, allocations: 171.4 kB / 364.3 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1545, allocations: 4 kB / 364.3 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1545, allocations: 4 kB / 364.3 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1545, allocations: 4 kB / 364.3 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1546, allocations: 35.92 kB / 364.3 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.1552, allocations: 375.2 kB / 364.7 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.1555, allocations: 130.5 kB / 364.8 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.1556, allocations: 63.41 kB / 364.9 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.1556, allocations: 8.062 kB / 364.9 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.1558, allocations: 79.27 kB / 364.9 MB, free: 7.344 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.1558, allocations: 0 / 364.9 MB, free: 7.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004115/0.1562, allocations: 161.3 kB / 365.1 MB, free: 7.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.1564, allocations: 166.1 kB / 365.3 MB, free: 6.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.1567, allocations: 278.6 kB / 365.5 MB, free: 6.699 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1567, allocations: 29.7 kB / 365.6 MB, free: 6.664 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.1568, allocations: 124.8 kB / 365.7 MB, free: 6.535 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.1569, allocations: 19.81 kB / 365.7 MB, free: 6.516 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.1569, allocations: 21.7 kB / 365.7 MB, free: 6.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.157, allocations: 330.8 kB / 366 MB, free: 6.156 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.275e-05/0.1571, allocations: 19.98 kB / 366.1 MB, free: 6.137 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.1572, allocations: 83.34 kB / 366.2 MB, free: 6.031 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.1574, allocations: 97.91 kB / 366.2 MB, free: 5.914 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1574, allocations: 0 / 366.2 MB, free: 5.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002253/0.1576, allocations: 133.3 kB / 366.4 MB, free: 5.777 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1577, allocations: 8 kB / 366.4 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.1577, allocations: 3.984 kB / 366.4 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1577, allocations: 4 kB / 366.4 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.289e-05/0.1578, allocations: 15.94 kB / 366.4 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.1578, allocations: 0 / 366.4 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.816e-05/0.1579, allocations: 20.05 kB / 366.4 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1579, allocations: 12 kB / 366.4 MB, free: 5.715 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.0001454/0.158, allocations: 146.5 kB / 366.6 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.1582, allocations: 77.36 kB / 366.7 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.35e-05/0.1582, allocations: 25.7 kB / 366.7 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1582, allocations: 0 / 366.7 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1582, allocations: 4 kB / 366.7 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.1583, allocations: 7.922 kB / 366.7 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.1585, allocations: 229.7 kB / 366.9 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1585, allocations: 0 / 366.9 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.1585, allocations: 4 kB / 366.9 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1585, allocations: 4 kB / 366.9 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1586, allocations: 7.938 kB / 366.9 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.1586, allocations: 4.312 kB / 366.9 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.1586, allocations: 0 / 366.9 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.1589, allocations: 187.2 kB / 367.1 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.022e-05/0.159, allocations: 112.8 kB / 367.2 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.159, allocations: 11.98 kB / 367.2 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.567e-05/0.1591, allocations: 4 kB / 367.2 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.1591, allocations: 7.984 kB / 367.3 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.1591, allocations: 11.94 kB / 367.3 MB, free: 4.777 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002068/0.1594, allocations: 210 kB / 367.5 MB, free: 4.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1594, allocations: 0 / 367.5 MB, free: 4.574 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.1596, allocations: 39.89 kB / 367.5 MB, free: 4.535 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.0009926/0.1606, allocations: 411.7 kB / 367.9 MB, free: 4.258 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.1609, allocations: 75.91 kB / 368 MB, free: 4.184 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1609, allocations: 384 / 368 MB, free: 4.184 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/0.1609, allocations: 35.92 kB / 368 MB, free: 4.148 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.1614, allocations: 67.34 kB / 368.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005959/0.162, allocations: 385.4 kB / 368.5 MB, free: 3.684 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.1624, allocations: 0.7401 MB / 369.2 MB, free: 2.918 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.502e-05/0.1625, allocations: 21.53 kB / 369.2 MB, free: 2.891 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.1625, allocations: 27.42 kB / 369.3 MB, free: 2.863 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1625, allocations: 3.938 kB / 369.3 MB, free: 2.859 MB / 302.1 MB Notification: Performance of Templates: time 0.005981/0.1685, allocations: 2.53 MB / 371.8 MB, free: 368 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.0.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