Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.0007966/0.0007966, allocations: 84 kB / 21.43 MB, free: 3.137 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.003288/0.003288, allocations: 141.6 kB / 24.68 MB, free: 8.891 MB / 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 0.8337/0.8337, allocations: 173.4 MB / 201.2 MB, free: 9.457 MB / 186.7 MB " [Timeout remaining time 179] 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.RealSignals.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.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 3.938 kB / 319.7 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.292e-05, allocations: 2.281 kB / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001609/0.001622, allocations: 1.601 MB / 321.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005307/0.002153, allocations: 470.7 kB / 321.8 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.002218, allocations: 7.938 kB / 321.8 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.078e-05/0.002299, allocations: 7.875 kB / 321.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.174e-05/0.002391, allocations: 19.84 kB / 321.8 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.002571, allocations: 51.77 kB / 321.8 MB, free: 3.703 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.801e-05/0.002669, allocations: 59.78 kB / 321.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.303e-05/0.002752, allocations: 11.98 kB / 321.9 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.93e-05/0.002822, allocations: 43.83 kB / 322 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.725e-05/0.002869, allocations: 23.91 kB / 322 MB, free: 3.566 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.002891, allocations: 8 kB / 322 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.0029, allocations: 4 kB / 322 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.002944, allocations: 15.92 kB / 322 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.002971, allocations: 19.92 kB / 322 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.722e-05/0.003068, allocations: 63.78 kB / 322.1 MB, free: 3.457 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.00307, allocations: 0 / 322.1 MB, free: 3.457 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.00307, allocations: 0 / 322.1 MB, free: 3.457 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.003074, allocations: 0 / 322.1 MB, free: 3.457 MB / 282.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.000347/0.003421, allocations: 325.8 kB / 322.4 MB, free: 3.109 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.003452, allocations: 8.922 kB / 322.4 MB, free: 3.102 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.00348, allocations: 16.89 kB / 322.4 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.003641, allocations: 151.3 kB / 322.6 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.003649, allocations: 384 / 322.6 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.003659, allocations: 4.375 kB / 322.6 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.003864, allocations: 126.4 kB / 322.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.003872, allocations: 192 / 322.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.00388, allocations: 384 / 322.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.003898, allocations: 11.94 kB / 322.7 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.868e-05/0.003966, allocations: 43.95 kB / 322.8 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.004231, allocations: 309.5 kB / 323.1 MB, free: 2.371 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.419e-05/0.004315, allocations: 87.77 kB / 323.2 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.274e-05/0.004358, allocations: 38.62 kB / 323.2 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.004369, allocations: 0 / 323.2 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.004387, allocations: 42.5 kB / 323.2 MB, free: 2.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.42e-07/0.004388, allocations: 0 / 323.2 MB, free: 2.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.000216/0.004604, allocations: 117.5 kB / 323.3 MB, free: 2.039 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.004647, allocations: 102.8 kB / 323.4 MB, free: 1.914 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.169e-05/0.004729, allocations: 153.2 kB / 323.6 MB, free: 1.758 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.004738, allocations: 25.7 kB / 323.6 MB, free: 1.727 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.004778, allocations: 104.4 kB / 323.7 MB, free: 1.621 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/0.004791, allocations: 7.953 kB / 323.7 MB, free: 1.613 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.004816, allocations: 17.72 kB / 323.7 MB, free: 1.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.839e-05/0.004884, allocations: 318.8 kB / 324.1 MB, free: 1.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.302e-05/0.004917, allocations: 15.98 kB / 324.1 MB, free: 1.254 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.336e-05/0.004951, allocations: 29.7 kB / 324.1 MB, free: 1.219 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.183e-05/0.005013, allocations: 45.62 kB / 324.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005014, allocations: 8 kB / 324.2 MB, free: 1.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.377e-05/0.005098, allocations: 73.5 kB / 324.2 MB, free: 1.082 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.005108, allocations: 4 kB / 324.2 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.005112, allocations: 4 kB / 324.2 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.005122, allocations: 0 / 324.2 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.058e-05/0.005172, allocations: 7.984 kB / 324.2 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.005176, allocations: 0 / 324.2 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.005197, allocations: 4.062 kB / 324.2 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.005208, allocations: 11.98 kB / 324.3 MB, free: 1.051 MB / 282.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: 0 () * 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.816e-05/0.005266, allocations: 117.8 kB / 324.4 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.005311, allocations: 57.58 kB / 324.4 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.768e-05/0.005329, allocations: 11.97 kB / 324.4 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.005337, allocations: 7.984 kB / 324.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.00534, allocations: 0 / 324.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.005342, allocations: 0 / 324.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.005456, allocations: 129.2 kB / 324.6 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.00546, allocations: 3.984 kB / 324.6 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.09e-05/0.005481, allocations: 12.03 kB / 324.6 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.005482, allocations: 4 kB / 324.6 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.00549, allocations: 3.938 kB / 324.6 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.005491, allocations: 3.984 kB / 324.6 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005492, allocations: 0 / 324.6 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.005632, allocations: 267.6 kB / 324.9 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.005658, allocations: 19.89 kB / 324.9 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.00567, allocations: 7.938 kB / 324.9 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.482e-05/0.005724, allocations: 3.938 kB / 324.9 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.005754, allocations: 11.98 kB / 324.9 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-06/0.005757, allocations: 0 / 324.9 MB, free: 340 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.673e-05/0.005804, allocations: 115.2 kB / 325 MB, free: 224 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005804, allocations: 0 / 325 MB, free: 224 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001647/0.005968, allocations: 8 kB / 325 MB, free: 216 kB / 282.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: 0 () * 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.795e-05/0.006026, allocations: 99.25 kB / 325.1 MB, free: 108 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.006131, allocations: 43.89 kB / 325.2 MB, free: 64 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.006132, allocations: 4.125 kB / 325.2 MB, free: 60 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.104e-05/0.006163, allocations: 19.98 kB / 325.2 MB, free: 40 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.006431, allocations: 23.95 kB / 325.2 MB, free: 16 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.006708, allocations: 229.1 kB / 325.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.891e-05/0.006767, allocations: 91.27 kB / 325.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.006794, allocations: 12.72 kB / 325.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of SimCode: time 2.8e-07/0.006794, allocations: 4 kB / 325.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of Templates: time 0.001723/0.008517, allocations: 0.9338 MB / 326.5 MB, free: 14.7 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.015041870065033]