Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.001163/0.001163, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001225/0.001225, allocations: 145.1 kB / 24.54 MB, free: 32 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.042/1.042, allocations: 173.3 MB / 201.1 MB, free: 9.32 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/3.016e-05, allocations: 10.25 kB / 268 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002369/0.002399, allocations: 1.623 MB / 269.6 MB, free: 4.766 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00071/0.003109, allocations: 474.6 kB / 270.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.253e-05/0.003192, allocations: 3.938 kB / 270.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.788e-05/0.00324, allocations: 3.938 kB / 270.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.003382, allocations: 19.84 kB / 270.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.003628, allocations: 43.83 kB / 270.2 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.379e-05/0.003722, allocations: 51.73 kB / 270.2 MB, free: 4.176 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.003828, allocations: 16.16 kB / 270.2 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.499e-05/0.003913, allocations: 27.92 kB / 270.3 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.761e-05/0.003961, allocations: 11.98 kB / 270.3 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.003981, allocations: 4 kB / 270.3 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.003992, allocations: 4 kB / 270.3 MB, free: 4.113 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.752e-05/0.004039, allocations: 19.91 kB / 270.3 MB, free: 4.094 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.004064, allocations: 11.94 kB / 270.3 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.004187, allocations: 39.83 kB / 270.3 MB, free: 4.043 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004189, allocations: 4 kB / 270.4 MB, free: 4.039 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.004191, allocations: 0 / 270.4 MB, free: 4.039 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.004196, allocations: 0 / 270.4 MB, free: 4.039 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004055/0.004601, allocations: 392.4 kB / 270.7 MB, free: 3.621 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.004642, allocations: 8.922 kB / 270.7 MB, free: 3.613 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.004689, allocations: 28.83 kB / 270.8 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.004871, allocations: 148.3 kB / 270.9 MB, free: 3.414 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.004881, allocations: 4.375 kB / 270.9 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.004896, allocations: 4.375 kB / 270.9 MB, free: 3.406 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.005174, allocations: 129.3 kB / 271.1 MB, free: 3.25 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.005183, allocations: 192 / 271.1 MB, free: 3.25 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.005194, allocations: 8.125 kB / 271.1 MB, free: 3.242 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.005202, allocations: 0 / 271.1 MB, free: 3.242 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.973e-05/0.005231, allocations: 19.92 kB / 271.1 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.005588, allocations: 267.2 kB / 271.3 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.758e-05/0.005676, allocations: 89.19 kB / 271.4 MB, free: 2.793 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.44e-05/0.00572, allocations: 39.17 kB / 271.5 MB, free: 2.742 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.005744, allocations: 0 / 271.5 MB, free: 2.742 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.00577, allocations: 45.27 kB / 271.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.005771, allocations: 4 kB / 271.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001677/0.005939, allocations: 61.58 kB / 271.6 MB, free: 2.617 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.005999, allocations: 110.8 kB / 271.7 MB, free: 2.484 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.006106, allocations: 197.9 kB / 271.9 MB, free: 2.273 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.006116, allocations: 25.7 kB / 271.9 MB, free: 2.242 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.006166, allocations: 134.9 kB / 272 MB, free: 2.105 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.006182, allocations: 7.891 kB / 272 MB, free: 2.098 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.006215, allocations: 23.38 kB / 272.1 MB, free: 2.066 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.006338, allocations: 496.5 kB / 272.5 MB, free: 1.57 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.006351, allocations: 4 kB / 272.6 MB, free: 1.566 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.989e-06/0.006361, allocations: 4 kB / 272.6 MB, free: 1.562 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.429e-05/0.006395, allocations: 7.688 kB / 272.6 MB, free: 1.551 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.006397, allocations: 0 / 272.6 MB, free: 1.551 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.029e-05/0.006457, allocations: 53.52 kB / 272.6 MB, free: 1.492 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.006471, allocations: 4 kB / 272.6 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.006476, allocations: 0 / 272.6 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.00649, allocations: 4 kB / 272.6 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.006565, allocations: 3.938 kB / 272.6 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.006569, allocations: 4.094 kB / 272.6 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.82e-05/0.006587, allocations: 4 kB / 272.6 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.006593, allocations: 0 / 272.6 MB, free: 1.473 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.347e-05/0.006657, allocations: 152.6 kB / 272.8 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.006714, allocations: 61.52 kB / 272.8 MB, free: 1.246 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/0.006749, allocations: 7.969 kB / 272.9 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.006754, allocations: 11.98 kB / 272.9 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.006758, allocations: 0 / 272.9 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.006761, allocations: 0 / 272.9 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.00687, allocations: 132.7 kB / 273 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.006872, allocations: 0 / 273 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.006914, allocations: 11.98 kB / 273 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.006917, allocations: 0 / 273 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.006924, allocations: 3.938 kB / 273 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.006927, allocations: 4 kB / 273 MB, free: 1.039 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.006927, allocations: 0 / 273 MB, free: 1.039 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.007048, allocations: 223.2 kB / 273.2 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.007078, allocations: 15.94 kB / 273.2 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.007093, allocations: 7.938 kB / 273.3 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.71e-05/0.00713, allocations: 0 / 273.3 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.00716, allocations: 4 kB / 273.3 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.007166, allocations: 7.984 kB / 273.3 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.283e-05/0.007219, allocations: 146.3 kB / 273.4 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007219, allocations: 0 / 273.4 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001535/0.007373, allocations: 8 kB / 273.4 MB, free: 0.6094 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 (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 6.907e-05/0.007442, allocations: 91.25 kB / 273.5 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.301e-05/0.007525, allocations: 27.61 kB / 273.5 MB, free: 492 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.007526, allocations: 0 / 273.5 MB, free: 492 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.305e-05/0.007539, allocations: 15.75 kB / 273.5 MB, free: 472 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.007813, allocations: 20.86 kB / 273.6 MB, free: 448 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/0.008316, allocations: 192.3 kB / 273.8 MB, free: 220 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.138e-05/0.008358, allocations: 63.34 kB / 273.8 MB, free: 136 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.366e-05/0.008382, allocations: 4 kB / 273.8 MB, free: 132 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.008412, allocations: 8.75 kB / 273.8 MB, free: 124 kB / 250.7 MB Notification: Performance of SimCode: time 8.11e-07/0.008412, allocations: 4 kB / 273.8 MB, free: 120 kB / 250.7 MB Notification: Performance of Templates: time 0.002553/0.01096, allocations: 0.6375 MB / 274.5 MB, free: 15.49 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.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.865229709073901]