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.0008968/0.0008968, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.0009594/0.0009594, allocations: 152.2 kB / 24.9 MB, free: 9.16 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.9061/0.9061, allocations: 173.3 MB / 201.5 MB, free: 9.227 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 268.5 MB, free: 6.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.208e-05, allocations: 2.312 kB / 268.5 MB, free: 6.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002306/0.002328, allocations: 1.662 MB / 270.1 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006906/0.003019, allocations: 490.4 kB / 270.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.823e-05/0.003097, allocations: 3.938 kB / 270.6 MB, free: 4.051 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.039e-05/0.003187, allocations: 7.938 kB / 270.6 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.149e-05/0.003279, allocations: 19.8 kB / 270.7 MB, free: 4.023 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.003471, allocations: 43.83 kB / 270.7 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.578e-05/0.003566, allocations: 59.72 kB / 270.8 MB, free: 3.922 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.027e-05/0.003647, allocations: 15.97 kB / 270.8 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.957e-05/0.003726, allocations: 39.84 kB / 270.8 MB, free: 3.867 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.003775, allocations: 19.97 kB / 270.8 MB, free: 3.848 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.003793, allocations: 4 kB / 270.8 MB, free: 3.844 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.003802, allocations: 4 kB / 270.8 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.428e-05/0.003847, allocations: 23.92 kB / 270.9 MB, free: 3.816 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.003871, allocations: 15.94 kB / 270.9 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.286e-05/0.003963, allocations: 51.75 kB / 270.9 MB, free: 3.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.003965, allocations: 0 / 270.9 MB, free: 3.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.003966, allocations: 0 / 270.9 MB, free: 3.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.003969, allocations: 0 / 270.9 MB, free: 3.75 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.0003158/0.004285, allocations: 292.5 kB / 271.2 MB, free: 3.441 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.004318, allocations: 8.031 kB / 271.2 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.004347, allocations: 12.94 kB / 271.2 MB, free: 3.422 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.004492, allocations: 149.4 kB / 271.4 MB, free: 3.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.004499, allocations: 384 / 271.4 MB, free: 3.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.004509, allocations: 4.375 kB / 271.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.004673, allocations: 128.7 kB / 271.5 MB, free: 3.094 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-06/0.004678, allocations: 192 / 271.5 MB, free: 3.094 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.004685, allocations: 384 / 271.5 MB, free: 3.094 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.004708, allocations: 7.938 kB / 271.5 MB, free: 3.086 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.084e-05/0.004729, allocations: 14.77 kB / 271.5 MB, free: 3.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.004935, allocations: 259 kB / 271.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.575e-05/0.004991, allocations: 58.62 kB / 271.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.005011, allocations: 26.64 kB / 271.9 MB, free: 2.672 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.005021, allocations: 0 / 271.9 MB, free: 2.672 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.005042, allocations: 42.48 kB / 271.9 MB, free: 2.621 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.005043, allocations: 7.922 kB / 271.9 MB, free: 2.613 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001191/0.005162, allocations: 53.88 kB / 272 MB, free: 2.555 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.005207, allocations: 106.9 kB / 272.1 MB, free: 2.426 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.299e-05/0.00528, allocations: 153.1 kB / 272.2 MB, free: 2.266 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.00529, allocations: 25.7 kB / 272.2 MB, free: 2.234 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.07e-05/0.00532, allocations: 92.06 kB / 272.3 MB, free: 2.141 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.005334, allocations: 3.953 kB / 272.3 MB, free: 2.137 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.00536, allocations: 17.7 kB / 272.4 MB, free: 2.113 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.319e-05/0.005433, allocations: 318.8 kB / 272.7 MB, free: 1.793 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-06/0.005442, allocations: 4 kB / 272.7 MB, free: 1.789 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.451e-05/0.005457, allocations: 13.7 kB / 272.7 MB, free: 1.77 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.044e-05/0.005487, allocations: 24.61 kB / 272.7 MB, free: 1.738 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005489, allocations: 0 / 272.7 MB, free: 1.738 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.155e-05/0.00554, allocations: 41.62 kB / 272.7 MB, free: 1.691 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.005551, allocations: 4 kB / 272.8 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.005557, allocations: 7.938 kB / 272.8 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.005567, allocations: 0 / 272.8 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.624e-05/0.005623, allocations: 7.984 kB / 272.8 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.005626, allocations: 0 / 272.8 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.135e-05/0.005647, allocations: 7.953 kB / 272.8 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.005653, allocations: 4.062 kB / 272.8 MB, free: 1.66 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: 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.418e-05/0.005707, allocations: 108.7 kB / 272.9 MB, free: 1.543 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.00575, allocations: 41.62 kB / 272.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.005773, allocations: 15.91 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.005786, allocations: 7.984 kB / 273 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.005789, allocations: 4 kB / 273 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.005792, allocations: 4 kB / 273 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.005906, allocations: 81.8 kB / 273 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.005908, allocations: 0 / 273 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.34e-05/0.005931, allocations: 12.03 kB / 273 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.005933, allocations: 0 / 273 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.005939, allocations: 7.984 kB / 273.1 MB, free: 1.344 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.00594, allocations: 0 / 273.1 MB, free: 1.344 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.005942, allocations: 7.938 kB / 273.1 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.548e-05/0.006028, allocations: 218.5 kB / 273.3 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/0.006054, allocations: 11.95 kB / 273.3 MB, free: 1.09 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.006063, allocations: 7.922 kB / 273.3 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.166e-05/0.006115, allocations: 4 kB / 273.3 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.00614, allocations: 7.938 kB / 273.3 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.006143, allocations: 4.031 kB / 273.3 MB, free: 1.066 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.535e-05/0.006168, allocations: 35.86 kB / 273.3 MB, free: 1.031 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006168, allocations: 0 / 273.3 MB, free: 1.031 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001381/0.006307, allocations: 8 kB / 273.4 MB, free: 1.023 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: 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 6.539e-05/0.006372, allocations: 76.42 kB / 273.4 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.623e-05/0.006428, allocations: 24.78 kB / 273.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.006431, allocations: 4 kB / 273.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.611e-05/0.006448, allocations: 9.047 kB / 273.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.006667, allocations: 31.39 kB / 273.5 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.00704, allocations: 196.8 kB / 273.7 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.879e-05/0.007079, allocations: 67.34 kB / 273.8 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.382e-05/0.007102, allocations: 0 / 273.8 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.007153, allocations: 59.36 kB / 273.8 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007153, allocations: 96 / 273.8 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of Templates: time 0.002135/0.009288, allocations: 0.7377 MB / 274.6 MB, free: 15.77 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] 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","",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.424434254411608]