Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.001995/0.001995, allocations: 120.5 kB / 17.79 MB, free: 5.133 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.001968/0.001968, allocations: 215.2 kB / 20.75 MB, free: 2.18 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.738/1.738, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 39.94 kB / 373.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1583, allocations: 53.34 MB / 426.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003814/0.1621, allocations: 1.527 MB / 428.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005376/0.1626, allocations: 143.5 kB / 428.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.202e-05/0.1627, allocations: 7.938 kB / 428.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.1629, allocations: 7.922 kB / 428.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.163, allocations: 7.938 kB / 428.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.1632, allocations: 39.89 kB / 428.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.1634, allocations: 39.86 kB / 428.6 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.1635, allocations: 23.97 kB / 428.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.819e-05/0.1636, allocations: 11.94 kB / 428.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.26e-05/0.1636, allocations: 19.86 kB / 428.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.1637, allocations: 4 kB / 428.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.482e-05/0.1637, allocations: 4 kB / 428.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.67e-05/0.1638, allocations: 15.92 kB / 428.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.1638, allocations: 19.81 kB / 428.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.164, allocations: 59.73 kB / 428.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.975e-05/0.164, allocations: 0 / 428.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.164, allocations: 3.938 kB / 428.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.164, allocations: 4 kB / 428.7 MB, free: 2.371 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006484/0.1646, allocations: 371.1 kB / 429.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.1647, allocations: 8.031 kB / 429.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.1647, allocations: 8.891 kB / 429.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.1651, allocations: 206.3 kB / 429.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.1651, allocations: 4.375 kB / 429.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.1651, allocations: 4.359 kB / 429.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.1654, allocations: 118.5 kB / 429.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1654, allocations: 192 / 429.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1654, allocations: 7.938 kB / 429.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.1655, allocations: 4 kB / 429.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.809e-05/0.1656, allocations: 31.91 kB / 429.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.166, allocations: 357.9 kB / 429.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.1663, allocations: 83.72 kB / 429.9 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.105e-05/0.1663, allocations: 30.62 kB / 429.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.1664, allocations: 0 / 429.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.1664, allocations: 38.5 kB / 430 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1664, allocations: 0 / 430 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003405/0.1667, allocations: 97.64 kB / 430.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.1668, allocations: 102.8 kB / 430.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1669, allocations: 141.8 kB / 430.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.167, allocations: 25.7 kB / 430.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.167, allocations: 88.14 kB / 430.4 MB, free: 428 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.1671, allocations: 11.88 kB / 430.4 MB, free: 416 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.1671, allocations: 25.98 kB / 430.5 MB, free: 384 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1673, allocations: 322.8 kB / 430.8 MB, free: 52 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.401e-05/0.1673, allocations: 15.92 kB / 430.8 MB, free: 36 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.056e-05/0.1674, allocations: 35.42 kB / 430.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.1675, allocations: 59.3 kB / 430.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1675, allocations: 0 / 430.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001538/0.1677, allocations: 77.56 kB / 431 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1677, allocations: 4 kB / 431 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1677, allocations: 0 / 431 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.566e-05/0.1677, allocations: 4 kB / 431 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.143e-05/0.1678, allocations: 4.125 kB / 431 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1678, allocations: 0 / 431 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.857e-05/0.1678, allocations: 4 kB / 431 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.1678, allocations: 11.94 kB / 431 MB, free: 15.81 MB / 366.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 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * 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.0001163/0.1679, allocations: 125.7 kB / 431.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.168, allocations: 49.64 kB / 431.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.1681, allocations: 11.88 kB / 431.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.1681, allocations: 4 kB / 431.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1681, allocations: 4.031 kB / 431.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1681, allocations: 3.984 kB / 431.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.1684, allocations: 173.6 kB / 431.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1684, allocations: 0 / 431.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.043e-05/0.1684, allocations: 4 kB / 431.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1684, allocations: 0 / 431.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.1684, allocations: 0 / 431.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1684, allocations: 0 / 431.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.1684, allocations: 7.938 kB / 431.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.1687, allocations: 259.6 kB / 431.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.693e-05/0.1688, allocations: 89.05 kB / 431.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.1688, allocations: 7.984 kB / 431.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.299e-05/0.1689, allocations: 4.141 kB / 431.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.1689, allocations: 3.984 kB / 431.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.1689, allocations: 4 kB / 431.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.634e-05/0.169, allocations: 114.1 kB / 431.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.169, allocations: 0 / 431.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1693, allocations: 4 kB / 431.8 MB, free: 14.85 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001692/0.1695, allocations: 107.2 kB / 431.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.1697, allocations: 43.91 kB / 432 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1697, allocations: 256 / 432 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.031e-05/0.1697, allocations: 15.94 kB / 432 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.1702, allocations: 23.95 kB / 432 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.1707, allocations: 187 kB / 432.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.1711, allocations: 0.6885 MB / 432.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.903e-05/0.1712, allocations: 16.14 kB / 432.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.1712, allocations: 11.44 kB / 432.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1712, allocations: 0 / 432.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of Templates: time 0.004324/0.1755, allocations: 0.6246 MB / 433.5 MB, free: 13.09 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.146944835782051]