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.001294/0.001295, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 203.5 kB / 19.36 MB, free: 3.746 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.001624/0.001625, allocations: 60.47 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.141, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004354/0.1454, allocations: 1.916 MB / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.1479, allocations: 1.235 MB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.1482, allocations: 7.938 kB / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007425/0.149, allocations: 143.5 kB / 362.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005129/0.1495, allocations: 167.4 kB / 362.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006499/0.1502, allocations: 183 kB / 362.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.1505, allocations: 199.4 kB / 362.7 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.1507, allocations: 49.58 kB / 362.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.1508, allocations: 83.62 kB / 362.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1509, allocations: 75.62 kB / 363 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.151, allocations: 12 kB / 363 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.1512, allocations: 63.91 kB / 363 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-05/0.1512, allocations: 39.84 kB / 363.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.846e-05/0.1513, allocations: 79.47 kB / 363.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.1517, allocations: 219.2 kB / 363.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1518, allocations: 0 / 363.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.218e-06/0.1518, allocations: 7.922 kB / 363.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1518, allocations: 8 kB / 363.4 MB, free: 8.848 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.0009708/0.1528, allocations: 0.5195 MB / 363.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1528, allocations: 8.031 kB / 363.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.47e-05/0.1529, allocations: 24.66 kB / 363.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.1534, allocations: 282.7 kB / 364.2 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.1534, allocations: 4.375 kB / 364.2 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.1534, allocations: 16.12 kB / 364.2 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.1538, allocations: 162.7 kB / 364.4 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1539, allocations: 0 / 364.4 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.1539, allocations: 4 kB / 364.4 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1539, allocations: 8 kB / 364.4 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.154, allocations: 35.92 kB / 364.4 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005776/0.1546, allocations: 379.1 kB / 364.8 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.1549, allocations: 134.5 kB / 364.9 MB, free: 7.074 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.514e-05/0.155, allocations: 55.42 kB / 365 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.155, allocations: 8 kB / 365 MB, free: 7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.1552, allocations: 75.33 kB / 365.1 MB, free: 6.914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.994e-06/0.1552, allocations: 0 / 365.1 MB, free: 6.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003861/0.1556, allocations: 161.6 kB / 365.2 MB, free: 6.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.1557, allocations: 162.2 kB / 365.4 MB, free: 6.555 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.156, allocations: 282.6 kB / 365.7 MB, free: 6.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.156, allocations: 25.7 kB / 365.7 MB, free: 6.238 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.294e-05/0.1561, allocations: 120.4 kB / 365.8 MB, free: 6.113 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.1562, allocations: 15.81 kB / 365.8 MB, free: 6.098 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.1562, allocations: 41.55 kB / 365.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1564, allocations: 338.8 kB / 366.2 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.89e-05/0.1565, allocations: 27.94 kB / 366.2 MB, free: 5.684 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.904e-05/0.1566, allocations: 75.7 kB / 366.3 MB, free: 5.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.1567, allocations: 93.97 kB / 366.4 MB, free: 5.469 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1568, allocations: 4.25 kB / 366.4 MB, free: 5.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002221/0.157, allocations: 137.4 kB / 366.5 MB, free: 5.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.157, allocations: 4 kB / 366.5 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.157, allocations: 4 kB / 366.5 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.157, allocations: 0 / 366.5 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.158e-05/0.1571, allocations: 15.98 kB / 366.5 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.1572, allocations: 7.938 kB / 366.5 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.703e-05/0.1572, allocations: 15.78 kB / 366.6 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1573, allocations: 8 kB / 366.6 MB, free: 5.27 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.0001301/0.1574, allocations: 149.9 kB / 366.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.1575, allocations: 77.42 kB / 366.8 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.024e-05/0.1576, allocations: 29.64 kB / 366.8 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1576, allocations: 4 kB / 366.8 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1576, allocations: 0 / 366.8 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1576, allocations: 3.938 kB / 366.8 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.1579, allocations: 233.5 kB / 367.1 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1579, allocations: 4 kB / 367.1 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.12e-05/0.1579, allocations: 11.94 kB / 367.1 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1579, allocations: 8.078 kB / 367.1 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.158, allocations: 4 kB / 367.1 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.158, allocations: 0 / 367.1 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.158, allocations: 0 / 367.1 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.1583, allocations: 183.3 kB / 367.3 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.1584, allocations: 108.8 kB / 367.4 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.1584, allocations: 8 kB / 367.4 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.1585, allocations: 7.984 kB / 367.4 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.1586, allocations: 4 kB / 367.4 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.1586, allocations: 7.938 kB / 367.4 MB, free: 4.332 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002174/0.1588, allocations: 206 kB / 367.6 MB, free: 4.133 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1588, allocations: 0 / 367.6 MB, free: 4.133 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.1591, 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.00116/0.1603, allocations: 411.6 kB / 368 MB, free: 3.832 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.1606, allocations: 83.84 kB / 368.1 MB, free: 3.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1606, allocations: 0 / 368.1 MB, free: 3.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.483e-05/0.1606, allocations: 27.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.0004314/0.1611, allocations: 78.19 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.0006975/0.1618, allocations: 345.1 kB / 368.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.1621, allocations: 0.7281 MB / 369.3 MB, free: 2.523 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.623e-05/0.1622, allocations: 37.5 kB / 369.3 MB, free: 2.484 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.1623, allocations: 19.44 kB / 369.3 MB, free: 2.465 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1623, allocations: 0 / 369.3 MB, free: 2.465 MB / 302.1 MB Notification: Performance of Templates: time 0.2079/0.3703, allocations: 2.672 MB / 372 MB, free: 19.85 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 cvode -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