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.001638/0.001638, allocations: 92.62 kB / 20.96 MB, free: 3.477 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.001461/0.001461, allocations: 145.5 kB / 24.25 MB, free: 188 kB / 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 1.439/1.439, allocations: 173.4 MB / 200.8 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 178] 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.763e-06/1.763e-06, allocations: 0 / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.712e-05, allocations: 2.312 kB / 267.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003212/0.003239, allocations: 1.604 MB / 268.9 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009763/0.004216, allocations: 474.5 kB / 269.4 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.315e-05/0.004289, allocations: 4 kB / 269.4 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.004392, allocations: 15.81 kB / 269.4 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.004498, allocations: 15.86 kB / 269.4 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.004751, allocations: 43.88 kB / 269.5 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.004893, allocations: 63.72 kB / 269.5 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.005002, allocations: 19.91 kB / 269.6 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.671e-05/0.005098, allocations: 31.91 kB / 269.6 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.092e-05/0.005159, allocations: 15.98 kB / 269.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.00518, allocations: 4 kB / 269.6 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.005194, allocations: 7.938 kB / 269.6 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.005252, allocations: 27.91 kB / 269.6 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.005292, allocations: 15.94 kB / 269.7 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.005437, allocations: 67.72 kB / 269.7 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.00544, allocations: 0 / 269.7 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005441, allocations: 0 / 269.7 MB, free: 4.277 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.005445, allocations: 0 / 269.7 MB, free: 4.277 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.0005924/0.006037, allocations: 321.8 kB / 270 MB, free: 3.934 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.006077, allocations: 8.922 kB / 270.1 MB, free: 3.926 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.808e-05/0.006135, allocations: 16.88 kB / 270.1 MB, free: 3.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.006414, allocations: 149.6 kB / 270.2 MB, free: 3.738 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.006424, allocations: 4.312 kB / 270.2 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.006439, allocations: 4.375 kB / 270.2 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.006801, allocations: 126.4 kB / 270.3 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.006809, allocations: 192 / 270.3 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.006819, allocations: 384 / 270.3 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.006848, allocations: 11.88 kB / 270.4 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.006999, allocations: 39.97 kB / 270.4 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.007514, allocations: 317.5 kB / 270.7 MB, free: 3.188 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.007692, allocations: 83.77 kB / 270.8 MB, free: 3.078 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.007803, allocations: 38.62 kB / 270.8 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.007821, allocations: 0 / 270.8 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.007863, allocations: 38.5 kB / 270.9 MB, free: 2.984 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.007864, allocations: 0 / 270.9 MB, free: 2.984 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004219/0.008286, allocations: 121.5 kB / 271 MB, free: 2.859 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.79e-05/0.008384, allocations: 102.8 kB / 271.1 MB, free: 2.734 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.008563, allocations: 153.6 kB / 271.2 MB, free: 2.578 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.008588, allocations: 25.7 kB / 271.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.26e-05/0.008681, allocations: 100.1 kB / 271.4 MB, free: 2.445 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.008698, allocations: 3.953 kB / 271.4 MB, free: 2.441 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.008741, allocations: 18.09 kB / 271.4 MB, free: 2.418 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.008947, allocations: 322.8 kB / 271.7 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.009019, allocations: 15.98 kB / 271.7 MB, free: 2.078 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.316e-05/0.009092, allocations: 29.7 kB / 271.7 MB, free: 2.043 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.009227, allocations: 45.62 kB / 271.8 MB, free: 1.992 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.009229, allocations: 0 / 271.8 MB, free: 1.992 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001989/0.009428, allocations: 81.56 kB / 271.9 MB, free: 1.906 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.009444, allocations: 8 kB / 271.9 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.009449, allocations: 0 / 271.9 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.009463, allocations: 0 / 271.9 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.245e-05/0.009555, allocations: 7.984 kB / 271.9 MB, free: 1.891 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.009564, allocations: 4 kB / 271.9 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.273e-05/0.009627, allocations: 3.984 kB / 271.9 MB, free: 1.883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.009635, allocations: 4 kB / 271.9 MB, free: 1.879 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 0.0001131/0.009748, allocations: 117.9 kB / 272 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.009855, allocations: 57.52 kB / 272.1 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.009891, allocations: 19.91 kB / 272.1 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.009905, allocations: 4 kB / 272.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.009909, allocations: 0 / 272.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.009915, allocations: 4 kB / 272.1 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.01018, allocations: 121.3 kB / 272.2 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01019, allocations: 0 / 272.2 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.644e-05/0.01025, allocations: 11.94 kB / 272.2 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01026, allocations: 4 kB / 272.2 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.01027, allocations: 11.95 kB / 272.2 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.01028, allocations: 4 kB / 272.2 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01028, allocations: 0 / 272.2 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.01063, allocations: 267.5 kB / 272.5 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.01068, allocations: 27.83 kB / 272.5 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.0107, allocations: 7.969 kB / 272.5 MB, free: 1.164 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.01083, allocations: 7.984 kB / 272.5 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.01087, allocations: 7.984 kB / 272.6 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.01088, allocations: 0 / 272.6 MB, free: 1.148 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.01099, allocations: 119.2 kB / 272.7 MB, free: 1.031 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01099, allocations: 0 / 272.7 MB, free: 1.031 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002739/0.01126, allocations: 8 kB / 272.7 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 0.0001168/0.01138, allocations: 95.25 kB / 272.8 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.01159, allocations: 51.89 kB / 272.8 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.01159, allocations: 0 / 272.8 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.58e-05/0.01166, allocations: 20.11 kB / 272.8 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.01211, allocations: 24.58 kB / 272.9 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/0.01261, allocations: 210.2 kB / 273.1 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.01272, allocations: 90.69 kB / 273.2 MB, free: 484 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.87e-05/0.01277, allocations: 4 kB / 273.2 MB, free: 480 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.0128, allocations: 12.7 kB / 273.2 MB, free: 468 kB / 250.7 MB Notification: Performance of SimCode: time 4e-07/0.0128, allocations: 4 kB / 273.2 MB, free: 464 kB / 250.7 MB Notification: Performance of Templates: time 0.003578/0.01638, allocations: 0.7292 MB / 273.9 MB, free: 15.75 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=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.304972182959318]