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.00109/0.00109, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001015/0.001015, allocations: 172.7 kB / 24.91 MB, free: 9.148 MB / 18.57 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 0.9475/0.9475, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 273.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.646e-05, allocations: 10.25 kB / 273.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001949/0.001965, allocations: 1.623 MB / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003102/0.002275, allocations: 147.4 kB / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.002339, allocations: 0 / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.735e-05/0.002427, allocations: 7.922 kB / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.96e-05/0.002506, allocations: 19.86 kB / 275.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.002656, allocations: 39.83 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.509e-05/0.002741, allocations: 35.86 kB / 275.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.965e-05/0.002821, allocations: 15.98 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.842e-05/0.00286, allocations: 23.92 kB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.706e-05/0.002887, allocations: 11.97 kB / 275.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.002903, allocations: 0 / 275.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.834e-06/0.00291, allocations: 4 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.994e-05/0.00295, allocations: 15.92 kB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.002971, allocations: 15.94 kB / 275.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.914e-05/0.00305, allocations: 47.77 kB / 275.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.003051, allocations: 0 / 275.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.003052, allocations: 0 / 275.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.003056, allocations: 0 / 275.5 MB, free: 15.23 MB / 266.7 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.0002569/0.003313, allocations: 268.7 kB / 275.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.003341, allocations: 12.03 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.003364, allocations: 8.875 kB / 275.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.003497, allocations: 137.6 kB / 275.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.003512, allocations: 384 / 275.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-06/0.003518, allocations: 8.375 kB / 275.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.003681, allocations: 120.8 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.003689, allocations: 4.125 kB / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.003696, allocations: 384 / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.003717, allocations: 8.359 kB / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.991e-05/0.003737, allocations: 14.77 kB / 276.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.00392, allocations: 254.9 kB / 276.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.451e-05/0.003975, allocations: 62.59 kB / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.213e-05/0.003997, allocations: 22.69 kB / 276.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.004003, allocations: 0 / 276.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.004025, allocations: 38.56 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.004026, allocations: 0 / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001251/0.004151, allocations: 57.5 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.004204, allocations: 102.8 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.916e-05/0.004273, allocations: 136.5 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.004282, allocations: 30.08 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.004312, allocations: 88.14 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.004323, allocations: 15.86 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.004345, allocations: 13.72 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.641e-05/0.004421, allocations: 318.8 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.941e-06/0.004427, allocations: 0 / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.448e-05/0.004441, allocations: 13.72 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.004469, allocations: 24.47 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.004471, allocations: 0 / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.16e-05/0.004513, allocations: 49.69 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.004524, allocations: 8 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.004528, allocations: 0 / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.004539, allocations: 7.875 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.247e-05/0.004552, allocations: 0 / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.004555, allocations: 4 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/0.004573, allocations: 0 / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.004577, allocations: 0 / 277.3 MB, free: 13.2 MB / 266.7 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[1],sample1.u[2]) * 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 5.413e-05/0.004631, allocations: 116.7 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.004673, allocations: 41.75 kB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.787e-05/0.004691, allocations: 11.97 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.004701, allocations: 7.922 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.004704, allocations: 4 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.004707, allocations: 0 / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.911e-05/0.004806, allocations: 73.88 kB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.004808, allocations: 3.938 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-06/0.004812, allocations: 4 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.004814, allocations: 4 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-06/0.004819, allocations: 3.984 kB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.00482, allocations: 4.031 kB / 277.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.004821, allocations: 4 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.655e-05/0.004898, allocations: 218.5 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.004918, allocations: 15.94 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-06/0.004928, allocations: 7.984 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.15e-05/0.004979, allocations: 0 / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.005004, allocations: 11.88 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.005007, allocations: 0 / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.942e-05/0.005026, allocations: 23.5 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005026, allocations: 0 / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001326/0.005159, allocations: 12.03 kB / 277.8 MB, free: 12.59 MB / 266.7 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 5.952e-05/0.005218, allocations: 88.39 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.817e-05/0.005266, allocations: 16.8 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.005268, allocations: 0 / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.111e-05/0.005279, allocations: 8.859 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.005485, allocations: 23.41 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002018/0.005687, allocations: 176.5 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.6e-05/0.005723, allocations: 59.34 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.401e-05/0.005737, allocations: 4 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.005781, allocations: 63.31 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.005781, allocations: 0 / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of Templates: time 0.001957/0.007738, allocations: 0.6581 MB / 278.9 MB, free: 11.45 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6715220590122044]