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.0009203/0.0009203, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009401/0.0009401, allocations: 142.7 kB / 24.89 MB, free: 8.777 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.9566/0.9566, allocations: 173.4 MB / 201.5 MB, free: 8.238 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.533e-06/1.533e-06, allocations: 0 / 268.5 MB, free: 9.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.149e-05, allocations: 5.266 kB / 268.5 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002769/0.002791, allocations: 1.696 MB / 270.2 MB, free: 8.043 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007922/0.003583, allocations: 488.6 kB / 270.7 MB, free: 7.562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/0.003661, allocations: 4.531 kB / 270.7 MB, free: 7.559 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.708e-05/0.003758, allocations: 3.938 kB / 270.7 MB, free: 7.555 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.003863, allocations: 17.73 kB / 270.7 MB, free: 7.539 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.004082, allocations: 47.81 kB / 270.8 MB, free: 7.492 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.004199, allocations: 67.66 kB / 270.8 MB, free: 7.426 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.335e-05/0.004282, allocations: 12 kB / 270.9 MB, free: 7.414 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.487e-05/0.004377, allocations: 44.75 kB / 270.9 MB, free: 7.371 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.818e-05/0.004436, allocations: 19.92 kB / 270.9 MB, free: 7.352 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.004455, allocations: 5.219 kB / 270.9 MB, free: 7.348 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.004466, allocations: 4 kB / 270.9 MB, free: 7.344 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.00451, allocations: 15.92 kB / 270.9 MB, free: 7.328 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.004539, allocations: 20.42 kB / 271 MB, free: 7.309 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.004645, allocations: 55.81 kB / 271 MB, free: 7.254 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004646, allocations: 0 / 271 MB, free: 7.254 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004647, allocations: 0 / 271 MB, free: 7.254 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.004652, allocations: 4 kB / 271 MB, free: 7.25 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.0003445/0.004997, allocations: 280.6 kB / 271.3 MB, free: 6.953 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.005032, allocations: 8.031 kB / 271.3 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.005067, allocations: 20.86 kB / 271.3 MB, free: 6.926 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.005231, allocations: 137.5 kB / 271.5 MB, free: 6.766 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.005241, allocations: 8.312 kB / 271.5 MB, free: 6.758 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.00525, allocations: 8.375 kB / 271.5 MB, free: 6.75 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.005437, allocations: 120.8 kB / 271.6 MB, free: 6.605 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.005444, allocations: 192 / 271.6 MB, free: 6.605 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.005452, allocations: 384 / 271.6 MB, free: 6.605 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.005478, allocations: 7.938 kB / 271.6 MB, free: 6.598 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.488e-05/0.005503, allocations: 10.77 kB / 271.6 MB, free: 6.586 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002526/0.005756, allocations: 262.9 kB / 271.9 MB, free: 6.305 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.892e-05/0.005825, allocations: 66.62 kB / 271.9 MB, free: 6.211 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.422e-05/0.005849, allocations: 18.64 kB / 272 MB, free: 6.184 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.00586, allocations: 0 / 272 MB, free: 6.184 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.005883, allocations: 42.48 kB / 272 MB, free: 6.133 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.005884, allocations: 0 / 272 MB, free: 6.133 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001528/0.006037, allocations: 57.56 kB / 272.1 MB, free: 6.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.006088, allocations: 110.7 kB / 272.2 MB, free: 5.938 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.851e-05/0.006176, allocations: 145.9 kB / 272.3 MB, free: 5.785 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.006187, allocations: 29.7 kB / 272.3 MB, free: 5.75 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.006225, allocations: 96.03 kB / 272.4 MB, free: 5.652 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.006241, allocations: 3.953 kB / 272.4 MB, free: 5.648 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.006274, allocations: 17.7 kB / 272.4 MB, free: 5.625 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.23e-05/0.006356, allocations: 314.8 kB / 272.8 MB, free: 5.309 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.006368, allocations: 4 kB / 272.8 MB, free: 5.305 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.688e-05/0.006385, allocations: 13.7 kB / 272.8 MB, free: 5.285 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.644e-05/0.006421, allocations: 24.53 kB / 272.8 MB, free: 5.254 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.006423, allocations: 0 / 272.8 MB, free: 5.254 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.979e-05/0.006483, allocations: 45.69 kB / 272.8 MB, free: 5.203 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.006495, allocations: 8 kB / 272.8 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.006502, allocations: 7.922 kB / 272.9 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.006514, allocations: 0 / 272.9 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.831e-05/0.006572, allocations: 11.98 kB / 272.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.006574, allocations: 0 / 272.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.006602, allocations: 4 kB / 272.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.006608, allocations: 0 / 272.9 MB, free: 5.172 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 6.236e-05/0.00667, allocations: 116.6 kB / 273 MB, free: 5.047 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.00673, allocations: 41.75 kB / 273 MB, free: 5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.006758, allocations: 23.84 kB / 273 MB, free: 4.973 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.006769, allocations: 3.938 kB / 273.1 MB, free: 4.969 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.00677, allocations: 0 / 273.1 MB, free: 4.969 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.006773, allocations: 4 kB / 273.1 MB, free: 4.965 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.006937, allocations: 77.83 kB / 273.1 MB, free: 4.871 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.00694, allocations: 4 kB / 273.1 MB, free: 4.867 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.973e-05/0.00697, allocations: 7.984 kB / 273.1 MB, free: 4.859 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.006972, allocations: 0 / 273.1 MB, free: 4.859 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.006979, allocations: 4 kB / 273.1 MB, free: 4.855 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.006981, allocations: 8.031 kB / 273.2 MB, free: 4.848 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.006983, allocations: 3.938 kB / 273.2 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.007091, allocations: 218.5 kB / 273.4 MB, free: 4.609 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/0.007126, allocations: 23.92 kB / 273.4 MB, free: 4.586 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.007138, allocations: 0 / 273.4 MB, free: 4.586 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/0.007226, allocations: 4 kB / 273.4 MB, free: 4.582 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.007255, allocations: 3.938 kB / 273.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.007261, allocations: 7.984 kB / 273.4 MB, free: 4.57 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.331e-05/0.007294, allocations: 32.83 kB / 273.4 MB, free: 4.535 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007294, allocations: 0 / 273.4 MB, free: 4.535 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002259/0.00752, allocations: 11.97 kB / 273.5 MB, free: 4.523 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 7.481e-05/0.007595, allocations: 80.42 kB / 273.5 MB, free: 4.438 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.862e-05/0.007664, allocations: 20.78 kB / 273.6 MB, free: 4.414 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.007666, allocations: 0 / 273.6 MB, free: 4.414 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.891e-05/0.007685, allocations: 12.8 kB / 273.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.008, allocations: 19.41 kB / 273.6 MB, free: 4.375 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.008452, allocations: 205.5 kB / 273.8 MB, free: 4.137 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.453e-05/0.008507, allocations: 67.34 kB / 273.9 MB, free: 4.051 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.025e-05/0.008537, allocations: 0 / 273.9 MB, free: 4.051 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/0.008594, allocations: 59.36 kB / 273.9 MB, free: 3.992 MB / 250.7 MB Notification: Performance of SimCode: time 8.91e-07/0.008595, allocations: 0 / 273.9 MB, free: 3.992 MB / 250.7 MB Notification: Performance of Templates: time 0.002765/0.01136, allocations: 0.739 MB / 274.6 MB, free: 3.281 MB / 250.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 -s gbode -gbm=radauIIA3 -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.473188762087375]