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.001374/0.001374, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, 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.59/1.59, allocations: 227.4 MB / 246.3 MB, free: 10.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 63.36 kB / 306.3 MB, free: 1.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1594, allocations: 50.54 MB / 356.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.00423/0.1637, allocations: 1.57 MB / 358.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005023/0.1642, allocations: 139.6 kB / 358.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.1643, allocations: 4 kB / 358.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.41e-05/0.1644, allocations: 3.984 kB / 358.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.1646, allocations: 7.938 kB / 358.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.1649, allocations: 35.91 kB / 358.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.165, allocations: 27.92 kB / 358.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.1652, allocations: 16 kB / 358.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.434e-05/0.1652, allocations: 15.92 kB / 358.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.405e-05/0.1653, allocations: 15.86 kB / 358.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.1653, allocations: 0 / 358.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.814e-05/0.1653, allocations: 4 kB / 358.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.32e-05/0.1654, allocations: 11.98 kB / 358.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.1655, allocations: 19.81 kB / 358.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.1656, allocations: 35.83 kB / 358.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.1656, allocations: 0 / 358.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1656, allocations: 4 kB / 358.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1656, allocations: 0 / 358.8 MB, free: 12.56 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.0007118/0.1663, allocations: 367.5 kB / 359.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.1664, allocations: 8.031 kB / 359.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.1664, allocations: 12.83 kB / 359.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.1667, allocations: 188.2 kB / 359.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.1668, allocations: 12.3 kB / 359.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.1668, allocations: 4.375 kB / 359.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.1671, allocations: 113.6 kB / 359.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1672, allocations: 192 / 359.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.1672, allocations: 3.938 kB / 359.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.1672, allocations: 4 kB / 359.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.964e-05/0.1673, allocations: 11.98 kB / 359.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.1678, allocations: 265.7 kB / 359.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.168, allocations: 134.2 kB / 359.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.1681, allocations: 33.7 kB / 359.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.1682, allocations: 4 kB / 359.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.1682, allocations: 34.5 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1682, allocations: 0 / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002565/0.1685, allocations: 69.61 kB / 360 MB, free: 11.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/0.1686, allocations: 77.11 kB / 360.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.1687, allocations: 140.1 kB / 360.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1687, allocations: 29.83 kB / 360.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.751e-05/0.1688, allocations: 84.14 kB / 360.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.337e-06/0.1688, allocations: 0 / 360.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.1689, allocations: 25.7 kB / 360.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1691, allocations: 314.8 kB / 360.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.312e-05/0.1691, allocations: 4 kB / 360.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.874e-05/0.1692, allocations: 31.42 kB / 360.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.168e-05/0.1693, allocations: 47.36 kB / 360.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1693, allocations: 0 / 360.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001248/0.1694, allocations: 69.53 kB / 360.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1694, allocations: 8 kB / 360.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.1694, allocations: 8 kB / 360.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1695, allocations: 0 / 360.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.22e-05/0.1695, allocations: 0 / 360.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.1695, allocations: 4 kB / 360.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.122e-05/0.1695, allocations: 3.938 kB / 360.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1695, allocations: 4 kB / 360.8 MB, free: 10.19 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 0.0001316/0.1697, allocations: 121.8 kB / 361 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-05/0.1698, allocations: 57.48 kB / 361 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.1698, allocations: 15.89 kB / 361 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1698, allocations: 0 / 361 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-05/0.1699, allocations: 336 / 361 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1699, allocations: 0 / 361 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.1701, allocations: 169.6 kB / 361.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.1701, allocations: 4 kB / 361.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.224e-06/0.1701, allocations: 0 / 361.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.1701, allocations: 3.984 kB / 361.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1702, allocations: 0 / 361.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1702, allocations: 0 / 361.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1702, allocations: 8 kB / 361.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.1704, allocations: 168.2 kB / 361.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.1705, allocations: 89.09 kB / 361.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.1705, allocations: 0 / 361.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.306e-05/0.1706, allocations: 0 / 361.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.1706, allocations: 4 kB / 361.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.1706, allocations: 4 kB / 361.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.1707, allocations: 103.3 kB / 361.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1707, allocations: 3.938 kB / 361.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.171, allocations: 4 kB / 361.6 MB, free: 9.34 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 0.0001369/0.1711, allocations: 99.23 kB / 361.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.1713, allocations: 27.92 kB / 361.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1713, allocations: 4.25 kB / 361.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.89e-05/0.1713, allocations: 8 kB / 361.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.1719, allocations: 31.89 kB / 361.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/0.1723, allocations: 167.9 kB / 361.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/0.1728, allocations: 0.6888 MB / 362.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.734e-05/0.1729, allocations: 7.984 kB / 362.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.1729, allocations: 11.44 kB / 362.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1729, allocations: 0 / 362.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of Templates: time 0.003822/0.1767, allocations: 451 kB / 363.1 MB, free: 7.801 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.1.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