Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 153.3 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.863e-05, allocations: 2.312 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003017/0.003046, allocations: 1.53 MB / 268.8 MB, free: 5.199 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004759/0.003522, allocations: 147.4 kB / 269 MB, free: 5.055 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.143e-05/0.003603, allocations: 4 kB / 269 MB, free: 5.051 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.003727, allocations: 7.938 kB / 269 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.003829, allocations: 11.91 kB / 269 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.004082, allocations: 43.77 kB / 269.1 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.004206, allocations: 43.84 kB / 269.1 MB, free: 4.945 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.004327, allocations: 15.95 kB / 269.1 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/0.004383, allocations: 19.97 kB / 269.1 MB, free: 4.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.313e-05/0.004437, allocations: 15.92 kB / 269.2 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.004463, allocations: 7.938 kB / 269.2 MB, free: 4.887 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.004474, allocations: 4 kB / 269.2 MB, free: 4.883 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/0.004539, allocations: 19.92 kB / 269.2 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.004582, allocations: 11.94 kB / 269.2 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.004727, allocations: 51.8 kB / 269.2 MB, free: 4.801 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.00473, allocations: 0 / 269.2 MB, free: 4.801 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004731, allocations: 0 / 269.2 MB, free: 4.801 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.004735, allocations: 0 / 269.2 MB, free: 4.801 MB / 250.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.0005631/0.005298, allocations: 298 kB / 269.5 MB, free: 4.477 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.005342, allocations: 12.92 kB / 269.5 MB, free: 4.465 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.005402, allocations: 20.84 kB / 269.6 MB, free: 4.445 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.005664, allocations: 153.5 kB / 269.7 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.005675, allocations: 384 / 269.7 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.005689, allocations: 8.359 kB / 269.7 MB, free: 4.262 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.006027, allocations: 122.5 kB / 269.8 MB, free: 4.121 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.006036, allocations: 192 / 269.8 MB, free: 4.121 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.006048, allocations: 4.375 kB / 269.9 MB, free: 4.117 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.006074, allocations: 4.375 kB / 269.9 MB, free: 4.113 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.006204, allocations: 39.91 kB / 269.9 MB, free: 4.074 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.006673, allocations: 309.5 kB / 270.2 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.006839, allocations: 79.77 kB / 270.3 MB, free: 3.629 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.651e-05/0.006935, allocations: 38.62 kB / 270.3 MB, free: 3.582 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.006947, allocations: 0 / 270.3 MB, free: 3.582 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.006985, allocations: 34.56 kB / 270.3 MB, free: 3.539 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.006986, allocations: 4 kB / 270.3 MB, free: 3.535 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003793/0.007365, allocations: 117.4 kB / 270.5 MB, free: 3.414 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.128e-05/0.007456, allocations: 106.8 kB / 270.6 MB, free: 3.285 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.007616, allocations: 153.6 kB / 270.7 MB, free: 3.125 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.007635, allocations: 25.7 kB / 270.7 MB, free: 3.094 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.007705, allocations: 88.14 kB / 270.8 MB, free: 3.004 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.965e-06/0.007712, allocations: 384 / 270.8 MB, free: 3.004 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.007758, allocations: 29.66 kB / 270.9 MB, free: 2.969 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.007944, allocations: 314.8 kB / 271.2 MB, free: 2.652 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.36e-05/0.008007, allocations: 15.98 kB / 271.2 MB, free: 2.637 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.584e-05/0.008073, allocations: 25.64 kB / 271.2 MB, free: 2.605 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.00819, allocations: 37.69 kB / 271.2 MB, free: 2.562 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.008191, allocations: 4 kB / 271.2 MB, free: 2.559 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001714/0.008363, allocations: 65.67 kB / 271.3 MB, free: 2.488 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.008381, allocations: 11.94 kB / 271.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.008385, allocations: 0 / 271.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.008399, allocations: 0 / 271.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/0.008477, allocations: 11.92 kB / 271.3 MB, free: 2.465 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.008482, allocations: 4 kB / 271.3 MB, free: 2.461 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/0.008522, allocations: 4 kB / 271.3 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.008528, allocations: 0 / 271.3 MB, free: 2.457 MB / 250.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[2],sample1.u[1]) * 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.0001176/0.008645, allocations: 125.9 kB / 271.5 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.923e-05/0.008745, allocations: 53.59 kB / 271.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.008792, allocations: 19.84 kB / 271.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.008807, allocations: 4 kB / 271.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.008811, allocations: 0 / 271.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.008816, allocations: 4 kB / 271.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.009038, allocations: 125.2 kB / 271.7 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.00904, allocations: 0 / 271.7 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.009084, allocations: 4 kB / 271.7 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.009089, allocations: 8.031 kB / 271.7 MB, free: 2.07 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.009095, allocations: 0 / 271.7 MB, free: 2.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/0.009105, allocations: 11.92 kB / 271.7 MB, free: 2.059 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.009106, allocations: 0 / 271.7 MB, free: 2.059 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.00943, allocations: 271.5 kB / 272 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.00947, allocations: 15.95 kB / 272 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.009484, allocations: 0 / 272 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.009597, allocations: 11.92 kB / 272 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.009637, allocations: 0 / 272 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.009642, allocations: 8 kB / 272 MB, free: 1.738 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.009749, allocations: 110.3 kB / 272.1 MB, free: 1.633 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009749, allocations: 0 / 272.1 MB, free: 1.633 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002644/0.01001, allocations: 8 kB / 272.1 MB, free: 1.625 MB / 250.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[2],sample1.u[1],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.0001309/0.01014, allocations: 99.25 kB / 272.2 MB, free: 1.52 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.01033, allocations: 43.89 kB / 272.2 MB, free: 1.477 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.01033, allocations: 4 kB / 272.3 MB, free: 1.473 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.792e-05/0.01039, allocations: 12.12 kB / 272.3 MB, free: 1.461 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.01084, allocations: 36.55 kB / 272.3 MB, free: 1.422 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/0.01123, allocations: 185.2 kB / 272.5 MB, free: 1.211 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.01133, allocations: 75.58 kB / 272.6 MB, free: 1.117 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.645e-05/0.01137, allocations: 11.98 kB / 272.6 MB, free: 1.105 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.0114, allocations: 12.5 kB / 272.6 MB, free: 1.094 MB / 250.7 MB Notification: Performance of SimCode: time 3.61e-07/0.0114, allocations: 224 / 272.6 MB, free: 1.094 MB / 250.7 MB Notification: Performance of Templates: time 0.003251/0.01465, allocations: 0.6765 MB / 273.3 MB, free: 448 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 4.19605089398101]