Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001484/0.001484, allocations: 115.8 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002051/0.002051, allocations: 209.8 kB / 18.27 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.607/1.607, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 61.88 kB / 306.4 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1546, allocations: 50.54 MB / 357 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.004257/0.1589, allocations: 1.566 MB / 358.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004492/0.1594, allocations: 143.5 kB / 358.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1595, allocations: 4 kB / 358.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.678e-05/0.1596, allocations: 0 / 358.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.1598, allocations: 3.938 kB / 358.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.1601, allocations: 43.91 kB / 358.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.708e-05/0.1602, allocations: 27.92 kB / 358.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1603, allocations: 23.92 kB / 358.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.672e-05/0.1604, allocations: 11.94 kB / 358.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.269e-05/0.1604, allocations: 19.86 kB / 358.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.1604, allocations: 4 kB / 358.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.1604, allocations: 0 / 358.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.989e-05/0.1605, allocations: 11.98 kB / 358.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.1605, allocations: 27.8 kB / 358.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.1607, allocations: 35.83 kB / 358.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1607, allocations: 0 / 358.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1607, allocations: 0 / 358.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.1607, allocations: 0 / 358.9 MB, free: 12.49 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005605/0.1612, allocations: 370.1 kB / 359.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1613, allocations: 8.031 kB / 359.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.1614, allocations: 8.844 kB / 359.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.1616, allocations: 192.1 kB / 359.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.1616, allocations: 8.312 kB / 359.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.1616, allocations: 4.375 kB / 359.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.1619, allocations: 113.6 kB / 359.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1619, allocations: 192 / 359.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.162, allocations: 3.938 kB / 359.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.162, allocations: 4 kB / 359.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.382e-05/0.162, allocations: 11.98 kB / 359.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.1624, allocations: 269.7 kB / 359.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.1626, allocations: 134.2 kB / 360 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.702e-05/0.1627, allocations: 29.72 kB / 360 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.1627, allocations: 0 / 360 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.1627, allocations: 34.56 kB / 360.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1627, allocations: 0 / 360.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002187/0.1629, allocations: 69.8 kB / 360.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.163, allocations: 77.11 kB / 360.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1631, allocations: 140.4 kB / 360.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.1631, allocations: 25.7 kB / 360.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.1632, allocations: 92.25 kB / 360.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.1632, allocations: 0 / 360.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.1633, allocations: 21.72 kB / 360.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1634, allocations: 314.8 kB / 360.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.304e-05/0.1634, allocations: 11.92 kB / 360.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.174e-05/0.1635, allocations: 31.42 kB / 360.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.556e-05/0.1635, allocations: 47.36 kB / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1635, allocations: 0 / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000115/0.1637, allocations: 69.41 kB / 360.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1637, allocations: 4 kB / 360.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1637, allocations: 8.125 kB / 360.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1637, allocations: 0 / 360.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.217e-05/0.1637, allocations: 0 / 360.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.1638, allocations: 7.984 kB / 361 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.089e-05/0.1638, allocations: 3.938 kB / 361 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1638, allocations: 4 kB / 361 MB, free: 10.12 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.99e-05/0.1639, allocations: 125.7 kB / 361.1 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.164, allocations: 53.53 kB / 361.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.403e-05/0.164, allocations: 11.91 kB / 361.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.164, allocations: 4 kB / 361.2 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.164, allocations: 0 / 361.2 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.164, allocations: 0 / 361.2 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.1642, allocations: 169.6 kB / 361.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1642, allocations: 4 kB / 361.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.566e-06/0.1642, allocations: 0 / 361.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1642, allocations: 0 / 361.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1643, allocations: 7.984 kB / 361.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.1643, allocations: 4 kB / 361.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1643, allocations: 0 / 361.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.1644, allocations: 168.2 kB / 361.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.1645, allocations: 89.09 kB / 361.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.1645, allocations: 0 / 361.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.23e-05/0.1646, allocations: 0 / 361.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.1646, allocations: 4 kB / 361.6 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.1646, allocations: 3.984 kB / 361.6 MB, free: 9.379 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.799e-05/0.1647, allocations: 107.3 kB / 361.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1647, allocations: 0 / 361.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.1649, allocations: 4 kB / 361.7 MB, free: 9.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 9.044e-05/0.165, allocations: 95.25 kB / 361.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.1652, allocations: 35.92 kB / 361.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1652, allocations: 0 / 361.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.43e-05/0.1652, allocations: 4.25 kB / 361.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.1656, allocations: 39.89 kB / 361.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.1659, allocations: 166.2 kB / 362 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.1662, allocations: 0.6885 MB / 362.7 MB, free: 8.184 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.475e-05/0.1662, allocations: 4 kB / 362.7 MB, free: 8.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.1663, allocations: 11.44 kB / 362.7 MB, free: 8.168 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1663, allocations: 0 / 362.7 MB, free: 8.168 MB / 302.1 MB Notification: Performance of Templates: time 0.002627/0.1689, allocations: 475.9 kB / 363.2 MB, free: 7.711 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches