Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.0009758/0.0009758, 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.001593/0.001593, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9232/0.9232, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.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.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 273.5 MB, free: 4.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.646e-05, allocations: 5.266 kB / 273.5 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003489/0.003515, allocations: 1.623 MB / 275.1 MB, free: 2.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004724/0.003988, allocations: 155.3 kB / 275.3 MB, free: 2.617 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.076e-05/0.004078, allocations: 1.469 kB / 275.3 MB, free: 2.617 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.004203, allocations: 11.86 kB / 275.3 MB, free: 2.605 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.004318, allocations: 4 kB / 275.3 MB, free: 2.602 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.004575, allocations: 47.7 kB / 275.3 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.004707, allocations: 40.7 kB / 275.4 MB, free: 2.516 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.004829, allocations: 15.97 kB / 275.4 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.538e-05/0.004894, allocations: 16.64 kB / 275.4 MB, free: 2.484 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.689e-05/0.004951, allocations: 15.92 kB / 275.4 MB, free: 2.469 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.004974, allocations: 6.406 kB / 275.4 MB, free: 2.465 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.004985, allocations: 4 kB / 275.4 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.725e-05/0.005043, allocations: 15.92 kB / 275.5 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.005074, allocations: 11.94 kB / 275.5 MB, free: 2.434 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.005191, allocations: 43.83 kB / 275.5 MB, free: 2.391 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.005193, allocations: 0 / 275.5 MB, free: 2.391 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.005194, allocations: 4 kB / 275.5 MB, free: 2.387 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.005199, allocations: 0 / 275.5 MB, free: 2.387 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.0003832/0.005582, allocations: 276.6 kB / 275.8 MB, free: 2.09 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.005619, allocations: 8.031 kB / 275.8 MB, free: 2.082 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.005654, allocations: 8.922 kB / 275.8 MB, free: 2.074 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.005848, allocations: 149.5 kB / 275.9 MB, free: 1.902 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.00586, allocations: 8.375 kB / 276 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.005869, allocations: 384 / 276 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.006088, allocations: 124.8 kB / 276.1 MB, free: 1.746 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.006098, allocations: 192 / 276.1 MB, free: 1.746 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.006105, allocations: 384 / 276.1 MB, free: 1.746 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/0.006138, allocations: 4.375 kB / 276.1 MB, free: 1.742 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.914e-05/0.006168, allocations: 18.7 kB / 276.1 MB, free: 1.723 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/0.006433, allocations: 243 kB / 276.3 MB, free: 1.461 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.809e-05/0.006511, allocations: 70.53 kB / 276.4 MB, free: 1.363 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.607e-05/0.006537, allocations: 22.7 kB / 276.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-06/0.006543, allocations: 0 / 276.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.006571, allocations: 42.5 kB / 276.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.006572, allocations: 0 / 276.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001596/0.006731, allocations: 53.56 kB / 276.5 MB, free: 1.223 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.006786, allocations: 102.8 kB / 276.6 MB, free: 1.098 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.006889, allocations: 145.9 kB / 276.8 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.006905, allocations: 29.7 kB / 276.8 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.00695, allocations: 88.09 kB / 276.9 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.006963, allocations: 4.312 kB / 276.9 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.007001, allocations: 25.66 kB / 276.9 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.772e-05/0.007099, allocations: 318.8 kB / 277.2 MB, free: 476 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.00711, allocations: 4 kB / 277.2 MB, free: 472 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.177e-05/0.007131, allocations: 21.7 kB / 277.2 MB, free: 444 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.843e-05/0.00717, allocations: 20.53 kB / 277.3 MB, free: 416 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.007172, allocations: 0 / 277.3 MB, free: 416 kB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.615e-05/0.007248, allocations: 41.64 kB / 277.3 MB, free: 368 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.007264, allocations: 8.125 kB / 277.3 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.007271, allocations: 4 kB / 277.3 MB, free: 356 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.007286, allocations: 3.938 kB / 277.3 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.9e-05/0.007355, allocations: 7.984 kB / 277.3 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.007357, allocations: 3.938 kB / 277.3 MB, free: 340 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.781e-05/0.007385, allocations: 4 kB / 277.3 MB, free: 336 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.007391, allocations: 0 / 277.3 MB, free: 336 kB / 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 8.629e-05/0.007477, allocations: 112.7 kB / 277.4 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.007557, allocations: 41.62 kB / 277.5 MB, free: 164 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.007585, allocations: 12 kB / 277.5 MB, free: 152 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/0.007609, allocations: 11.92 kB / 277.5 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.007611, allocations: 0 / 277.5 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.007617, allocations: 4 kB / 277.5 MB, free: 136 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.007788, allocations: 73.88 kB / 277.6 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.007792, allocations: 0 / 277.6 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.551e-05/0.007828, allocations: 4 kB / 277.6 MB, free: 40 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.007832, allocations: 7.984 kB / 277.6 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.007837, allocations: 0 / 277.6 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.00784, allocations: 0 / 277.6 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.007844, allocations: 8 kB / 277.6 MB, free: 24 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.007989, allocations: 230.4 kB / 277.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.008024, allocations: 11.94 kB / 277.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.008036, allocations: 3.984 kB / 277.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.38e-05/0.00813, allocations: 4 kB / 277.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.008161, allocations: 7.938 kB / 277.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.008165, allocations: 0 / 277.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.349e-05/0.008199, allocations: 28.83 kB / 277.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008199, allocations: 0 / 277.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.008425, allocations: 8 kB / 277.9 MB, free: 15.71 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[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.0001134/0.008538, allocations: 84.44 kB / 278 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.367e-05/0.008612, allocations: 16.8 kB / 278 MB, free: 15.6 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.008617, allocations: 4 kB / 278 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.966e-05/0.008636, allocations: 8.844 kB / 278 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.008963, allocations: 23.36 kB / 278 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.009291, allocations: 168.6 kB / 278.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.081e-05/0.009341, allocations: 71.2 kB / 278.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.432e-05/0.009366, allocations: 0 / 278.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/0.009432, allocations: 63.36 kB / 278.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of SimCode: time 1.212e-06/0.009433, allocations: 0 / 278.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of Templates: time 0.002946/0.01238, allocations: 0.6606 MB / 279 MB, free: 14.57 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.5334585402160883]