Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002107/0.002107, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.745/1.745, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 51.91 kB / 373.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1621, allocations: 53.33 MB / 426.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003748/0.1658, allocations: 1.498 MB / 428.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005168/0.1663, allocations: 139.5 kB / 428.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1664, allocations: 7.938 kB / 428.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.301e-05/0.1665, allocations: 3.984 kB / 428.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.1667, allocations: 3.938 kB / 428.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.167, allocations: 46.58 kB / 428.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.1671, allocations: 27.92 kB / 428.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1672, allocations: 11.98 kB / 428.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.802e-05/0.1673, allocations: 11.94 kB / 428.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.832e-05/0.1673, allocations: 15.92 kB / 428.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1674, allocations: 8 kB / 428.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-06/0.1674, allocations: 0 / 428.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.1674, allocations: 7.938 kB / 428.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.1674, allocations: 19.88 kB / 428.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.1676, allocations: 43.75 kB / 428.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1676, allocations: 0 / 428.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.1676, allocations: 0 / 428.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1676, allocations: 0 / 428.6 MB, free: 2.461 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005742/0.1682, allocations: 359.2 kB / 429 MB, free: 2.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.1682, allocations: 11.97 kB / 429 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.1683, allocations: 12.89 kB / 429 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.1685, allocations: 198 kB / 429.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.1686, allocations: 4.375 kB / 429.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.1686, allocations: 4.359 kB / 429.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.1688, allocations: 81.69 kB / 429.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1688, allocations: 8.125 kB / 429.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1688, allocations: 3.938 kB / 429.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1688, allocations: 0 / 429.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.827e-05/0.1689, allocations: 11.98 kB / 429.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.1693, allocations: 253.8 kB / 429.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.167e-05/0.1694, allocations: 49.08 kB / 429.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.497e-05/0.1695, allocations: 17.78 kB / 429.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.1695, allocations: 0 / 429.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.1695, allocations: 34.56 kB / 429.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1695, allocations: 0 / 429.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002254/0.1697, allocations: 61.8 kB / 429.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/0.1698, allocations: 81.09 kB / 429.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.17, allocations: 133.8 kB / 429.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.17, allocations: 25.7 kB / 430 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.1701, allocations: 88.14 kB / 430 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.163e-05/0.1701, allocations: 3.953 kB / 430 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.1701, allocations: 13.72 kB / 430.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1703, allocations: 318.8 kB / 430.4 MB, free: 484 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.107e-05/0.1703, allocations: 8.031 kB / 430.4 MB, free: 476 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.37e-05/0.1704, allocations: 17.72 kB / 430.4 MB, free: 452 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.855e-05/0.1704, allocations: 25.7 kB / 430.4 MB, free: 420 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1704, allocations: 0 / 430.4 MB, free: 420 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001063/0.1705, allocations: 57.62 kB / 430.5 MB, free: 356 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1705, allocations: 6.031 kB / 430.5 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1705, allocations: 4 kB / 430.5 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1706, allocations: 0 / 430.5 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.607e-05/0.1706, allocations: 0 / 430.5 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1706, allocations: 0 / 430.5 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.1706, allocations: 7.938 kB / 430.5 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.1706, allocations: 0 / 430.5 MB, free: 340 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001011/0.1707, allocations: 117.8 kB / 430.6 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-05/0.1708, allocations: 49.64 kB / 430.7 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.1708, allocations: 7.531 kB / 430.7 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1708, allocations: 4 kB / 430.7 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1708, allocations: 0 / 430.7 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1708, allocations: 0 / 430.7 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.1711, allocations: 169.5 kB / 430.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1711, allocations: 0 / 430.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-06/0.1711, allocations: 0 / 430.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1711, allocations: 4 kB / 430.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.1711, allocations: 0 / 430.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1711, allocations: 0 / 430.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1711, allocations: 4.031 kB / 430.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.1713, allocations: 160.2 kB / 431 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.04e-05/0.1713, allocations: 96.97 kB / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.1714, allocations: 0 / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.286e-05/0.1714, allocations: 0 / 431.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.1714, allocations: 12.02 kB / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.1715, allocations: 4 kB / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.924e-05/0.1715, allocations: 101.2 kB / 431.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1715, allocations: 0 / 431.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002159/0.1717, allocations: 0 / 431.2 MB, free: 15.51 MB / 366.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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001312/0.1719, allocations: 103.8 kB / 431.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.172, allocations: 15.92 kB / 431.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.172, allocations: 4.125 kB / 431.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.803e-05/0.172, allocations: 4 kB / 431.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.1724, allocations: 19.95 kB / 431.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.1727, allocations: 138.4 kB / 431.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.1731, allocations: 0.6846 MB / 432.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.331e-05/0.1731, allocations: 4 kB / 432.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.1732, allocations: 7.594 kB / 432.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1732, allocations: 7.938 kB / 432.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of Templates: time 0.003419/0.1766, allocations: 444.8 kB / 432.6 MB, free: 14.03 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.113852005451918]