Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001003/0.001003, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009648/0.0009648, allocations: 161.5 kB / 25.61 MB, free: 8.582 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.9366/0.9366, allocations: 177.2 MB / 206.1 MB, free: 4.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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.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.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.729e-06/4.729e-06, allocations: 3.984 kB / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/2.109e-05, allocations: 8.344 kB / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.00281/0.002831, allocations: 1.657 MB / 275.9 MB, free: 2.758 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009322/0.003763, allocations: 0.5359 MB / 276.4 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.369e-05/0.003837, allocations: 3.938 kB / 276.4 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.323e-05/0.00393, allocations: 3.938 kB / 276.4 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.396e-05/0.004024, allocations: 29.17 kB / 276.4 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.004248, allocations: 59.8 kB / 276.5 MB, free: 2.125 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.004352, allocations: 64.34 kB / 276.6 MB, free: 2.062 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/0.004445, allocations: 23.97 kB / 276.6 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.004554, allocations: 46.25 kB / 276.6 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.117e-05/0.004606, allocations: 27.89 kB / 276.6 MB, free: 1.969 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.004621, allocations: 4 kB / 276.7 MB, free: 1.965 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.569e-05/0.004657, allocations: 8 kB / 276.7 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.257e-05/0.0047, allocations: 15.92 kB / 276.7 MB, free: 1.941 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.004727, allocations: 15.94 kB / 276.7 MB, free: 1.926 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.004831, allocations: 57.69 kB / 276.7 MB, free: 1.871 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.004832, allocations: 0 / 276.7 MB, free: 1.871 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004833, allocations: 0 / 276.7 MB, free: 1.871 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.005e-06/0.004836, allocations: 0 / 276.7 MB, free: 1.871 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.000366/0.005202, allocations: 432 kB / 277.2 MB, free: 1.414 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.005231, allocations: 8.594 kB / 277.2 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.005361, allocations: 33.47 kB / 277.2 MB, free: 1.375 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.005518, allocations: 160.4 kB / 277.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.005527, allocations: 384 / 277.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.005535, allocations: 4.375 kB / 277.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.00569, allocations: 125.3 kB / 277.5 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.005698, allocations: 192 / 277.5 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.005706, allocations: 4.375 kB / 277.5 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.005729, allocations: 7.938 kB / 277.5 MB, free: 1.023 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.009e-05/0.005749, allocations: 15.92 kB / 277.5 MB, free: 1.008 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.006014, allocations: 387 kB / 277.9 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.65e-05/0.006081, allocations: 89.17 kB / 278 MB, free: 480 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/0.006105, allocations: 31.19 kB / 278 MB, free: 436 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.006117, allocations: 3.938 kB / 278 MB, free: 432 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.006139, allocations: 41.39 kB / 278.1 MB, free: 380 kB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.00614, allocations: 0 / 278.1 MB, free: 380 kB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001458/0.006286, allocations: 65.52 kB / 278.1 MB, free: 308 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.006335, allocations: 106.8 kB / 278.2 MB, free: 176 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.006452, allocations: 208.7 kB / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.006462, allocations: 25.7 kB / 278.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.006522, allocations: 154.7 kB / 278.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.006538, allocations: 3.953 kB / 278.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.006567, allocations: 23.36 kB / 278.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.00669, allocations: 0.4884 MB / 279.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/0.006699, allocations: 3.938 kB / 279.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.3e-05/0.006722, allocations: 27.73 kB / 279.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.431e-05/0.006756, allocations: 27.36 kB / 279.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006758, allocations: 0 / 279.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.009e-05/0.006818, allocations: 45.59 kB / 279.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.006831, allocations: 7.938 kB / 279.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.006836, allocations: 0 / 279.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.006847, allocations: 3.984 kB / 279.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.774e-05/0.006895, allocations: 11.98 kB / 279.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.006898, allocations: 4.125 kB / 279.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.006919, allocations: 0 / 279.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.006925, allocations: 4 kB / 279.3 MB, free: 15.07 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: 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 7.084e-05/0.006996, allocations: 164.5 kB / 279.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.007046, allocations: 41.66 kB / 279.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.007069, allocations: 11.91 kB / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.007079, allocations: 7.984 kB / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.007081, allocations: 0 / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.007084, allocations: 4 kB / 279.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.007217, allocations: 105.2 kB / 279.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.007221, allocations: 8.031 kB / 279.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.00724, allocations: 4 kB / 279.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.007241, allocations: 0 / 279.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.007247, allocations: 3.984 kB / 279.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.007249, allocations: 8 kB / 279.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.007252, allocations: 7.875 kB / 279.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.007407, allocations: 330.7 kB / 279.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.007431, allocations: 7.953 kB / 279.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.007442, allocations: 4 kB / 280 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.539e-05/0.007498, allocations: 8.016 kB / 280 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.007525, allocations: 11.94 kB / 280 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.007528, allocations: 0 / 280 MB, free: 14.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.831e-05/0.007576, allocations: 147.8 kB / 280.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007576, allocations: 0 / 280.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001684/0.007745, allocations: 8 kB / 280.1 MB, free: 14.14 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: 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 0.0001061/0.007851, allocations: 107.1 kB / 280.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.853e-05/0.007919, allocations: 19.67 kB / 280.2 MB, free: 14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.00792, allocations: 3.938 kB / 280.3 MB, free: 14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.785e-05/0.007938, allocations: 19.75 kB / 280.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.008224, allocations: 24.56 kB / 280.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.008607, allocations: 209.7 kB / 280.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.907e-05/0.008646, allocations: 67.2 kB / 280.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.711e-05/0.008673, allocations: 8.203 kB / 280.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.618e-05/0.008729, allocations: 78.2 kB / 280.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.00873, allocations: 0 / 280.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of Templates: time 0.002456/0.01119, allocations: 0.8025 MB / 281.5 MB, free: 12.75 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/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.5515246959403157]