Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001963/0.001964, allocations: 108.3 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002321/0.002321, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.996/1.996, allocations: 222.9 MB / 241.8 MB, free: 15.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 43.23 kB / 300.6 MB, free: 6.324 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1635, allocations: 49.45 MB / 350.1 MB, free: 4.867 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003189/0.1667, allocations: 1.557 MB / 351.6 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004063/0.1671, allocations: 143.5 kB / 351.8 MB, free: 3.152 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.033e-05/0.1673, allocations: 4 kB / 351.8 MB, free: 3.148 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.123e-05/0.1673, allocations: 3.984 kB / 351.8 MB, free: 3.145 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.1675, allocations: 3.938 kB / 351.8 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.1677, allocations: 39.91 kB / 351.8 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.117e-05/0.1678, allocations: 27.92 kB / 351.8 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.168, allocations: 12 kB / 351.8 MB, free: 3.062 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.804e-05/0.168, allocations: 15.92 kB / 351.9 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.138e-05/0.1681, allocations: 19.86 kB / 351.9 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.1681, allocations: 0 / 351.9 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.454e-05/0.1681, allocations: 4 kB / 351.9 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.458e-05/0.1682, allocations: 11.98 kB / 351.9 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.651e-05/0.1682, allocations: 19.81 kB / 351.9 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.1683, allocations: 27.95 kB / 351.9 MB, free: 2.965 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1684, allocations: 0 / 351.9 MB, free: 2.965 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1684, allocations: 0 / 351.9 MB, free: 2.965 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.1684, allocations: 0 / 351.9 MB, free: 2.965 MB / 286.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.0005253/0.1689, allocations: 363.5 kB / 352.3 MB, free: 2.559 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.169, allocations: 12.03 kB / 352.3 MB, free: 2.547 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.169, allocations: 8.844 kB / 352.3 MB, free: 2.539 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.1693, allocations: 196.1 kB / 352.5 MB, free: 2.309 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.1693, allocations: 4.375 kB / 352.5 MB, free: 2.305 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.1693, allocations: 8.359 kB / 352.5 MB, free: 2.297 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.1696, allocations: 113.5 kB / 352.6 MB, free: 2.168 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1696, allocations: 4.172 kB / 352.6 MB, free: 2.164 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1697, allocations: 3.938 kB / 352.6 MB, free: 2.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1697, allocations: 0 / 352.6 MB, free: 2.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.964e-05/0.1698, allocations: 12 kB / 352.7 MB, free: 2.148 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.1701, allocations: 269.7 kB / 352.9 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.1703, allocations: 138.2 kB / 353.1 MB, free: 1.66 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.581e-05/0.1704, allocations: 25.77 kB / 353.1 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.1704, allocations: 0 / 353.1 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.1705, allocations: 42.56 kB / 353.1 MB, free: 1.578 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1705, allocations: 0 / 353.1 MB, free: 1.578 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002372/0.1707, allocations: 65.62 kB / 353.2 MB, free: 1.508 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.1708, allocations: 81.09 kB / 353.3 MB, free: 1.41 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1709, allocations: 137.2 kB / 353.4 MB, free: 1.27 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.171, allocations: 25.7 kB / 353.4 MB, free: 1.238 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.171, allocations: 88.14 kB / 353.5 MB, free: 1.148 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.917e-06/0.171, allocations: 0 / 353.5 MB, free: 1.148 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.1711, allocations: 21.84 kB / 353.5 MB, free: 1.121 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1712, allocations: 318.8 kB / 353.8 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.248e-05/0.1713, allocations: 4 kB / 353.8 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.902e-05/0.1713, allocations: 31.42 kB / 353.9 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.505e-05/0.1714, allocations: 47.38 kB / 353.9 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1714, allocations: 0 / 353.9 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001146/0.1715, allocations: 69.41 kB / 354 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1716, allocations: 7.984 kB / 354 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1716, allocations: 0 / 354 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1716, allocations: 4 kB / 354 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.388e-05/0.1716, allocations: 8.125 kB / 354 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1716, allocations: 0 / 354 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.767e-05/0.1717, allocations: 7.938 kB / 354 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.1717, allocations: 0 / 354 MB, free: 0.5938 MB / 286.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.0001032/0.1718, allocations: 121.8 kB / 354.1 MB, free: 476 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.1719, allocations: 57.47 kB / 354.2 MB, free: 412 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.1719, allocations: 3.906 kB / 354.2 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1719, allocations: 3.984 kB / 354.2 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/0.1719, allocations: 4 kB / 354.2 MB, free: 392 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.172, allocations: 4 kB / 354.2 MB, free: 388 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.1721, allocations: 169.9 kB / 354.4 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1721, allocations: 0 / 354.4 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-06/0.1722, allocations: 3.938 kB / 354.4 MB, free: 164 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1722, allocations: 4 kB / 354.4 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.1722, allocations: 0 / 354.4 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1722, allocations: 0 / 354.4 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1722, allocations: 0 / 354.4 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.1724, allocations: 176.2 kB / 354.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.1725, allocations: 85.09 kB / 354.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.1725, allocations: 4 kB / 354.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-05/0.1726, allocations: 7.984 kB / 354.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.1726, allocations: 0 / 354.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.1726, allocations: 4 kB / 354.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.841e-05/0.1727, allocations: 95.27 kB / 354.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1727, allocations: 0 / 354.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.1729, allocations: 12 kB / 354.8 MB, free: 15.74 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.0001256/0.1731, allocations: 103.2 kB / 354.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.1732, allocations: 23.92 kB / 354.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.1732, allocations: 4 kB / 354.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.767e-05/0.1733, allocations: 7.984 kB / 354.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.1736, allocations: 22.38 kB / 354.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.174, allocations: 206 kB / 355.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.1743, allocations: 0.6887 MB / 355.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.1743, allocations: 11.44 kB / 355.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1743, allocations: 0 / 355.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of Templates: time 0.002047/0.1764, allocations: 0.6679 MB / 356.5 MB, free: 13.94 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches