Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.0008972/0.0008972, 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.0009213/0.0009213, allocations: 141.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.9467/0.9467, allocations: 173.4 MB / 201.5 MB, free: 8.754 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 268.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.371e-05, allocations: 2.312 kB / 268.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002237/0.002251, allocations: 1.701 MB / 270.2 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006778/0.002929, allocations: 0.51 MB / 270.7 MB, free: 3.742 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.518e-05/0.003004, allocations: 7.938 kB / 270.7 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.228e-05/0.003046, allocations: 7.875 kB / 270.8 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.003173, allocations: 19.86 kB / 270.8 MB, free: 3.707 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.003383, allocations: 47.77 kB / 270.8 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.093e-05/0.003474, allocations: 63.77 kB / 270.9 MB, free: 3.598 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.074e-05/0.003545, allocations: 15.94 kB / 270.9 MB, free: 3.582 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.851e-05/0.003623, allocations: 35.89 kB / 270.9 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.6e-05/0.003669, allocations: 15.98 kB / 270.9 MB, free: 3.531 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.003685, allocations: 4 kB / 271 MB, free: 3.527 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-06/0.003694, allocations: 7.938 kB / 271 MB, free: 3.52 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.501e-05/0.003729, allocations: 11.98 kB / 271 MB, free: 3.508 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.002e-05/0.003749, allocations: 23.92 kB / 271 MB, free: 3.484 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.217e-05/0.003842, allocations: 55.62 kB / 271 MB, free: 3.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-06/0.003843, allocations: 0 / 271 MB, free: 3.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003844, allocations: 4 kB / 271.1 MB, free: 3.426 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.003847, allocations: 0 / 271.1 MB, free: 3.426 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002757/0.004122, allocations: 280.6 kB / 271.3 MB, free: 3.129 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.706e-05/0.00415, allocations: 8.031 kB / 271.3 MB, free: 3.121 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/0.004176, allocations: 16.86 kB / 271.3 MB, free: 3.105 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.004323, allocations: 159 kB / 271.5 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.004331, allocations: 8.359 kB / 271.5 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-06/0.004337, allocations: 384 / 271.5 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.004501, allocations: 140 kB / 271.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.004507, allocations: 192 / 271.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-06/0.004513, allocations: 384 / 271.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.004518, allocations: 3.938 kB / 271.7 MB, free: 2.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.94e-05/0.004537, allocations: 15.94 kB / 271.7 MB, free: 2.734 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.0047, allocations: 178.8 kB / 271.8 MB, free: 2.535 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.347e-05/0.004763, allocations: 78.42 kB / 271.9 MB, free: 2.422 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.607e-05/0.00479, allocations: 31.5 kB / 272 MB, free: 2.379 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.004803, allocations: 0 / 272 MB, free: 2.379 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.004822, allocations: 38.5 kB / 272 MB, free: 2.332 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 7.11e-07/0.004822, allocations: 0 / 272 MB, free: 2.332 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001153/0.004938, allocations: 77.67 kB / 272.1 MB, free: 2.25 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.00499, allocations: 132.5 kB / 272.2 MB, free: 2.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.131e-05/0.005061, allocations: 149.7 kB / 272.3 MB, free: 1.934 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.005069, allocations: 25.7 kB / 272.4 MB, free: 1.902 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.689e-05/0.005096, allocations: 88.12 kB / 272.5 MB, free: 1.812 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/0.005109, allocations: 3.984 kB / 272.5 MB, free: 1.809 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.005131, allocations: 17.67 kB / 272.5 MB, free: 1.785 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.005197, allocations: 314.8 kB / 272.8 MB, free: 1.469 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.632e-06/0.005204, allocations: 7.938 kB / 272.8 MB, free: 1.461 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.233e-06/0.005211, allocations: 8.312 kB / 272.8 MB, free: 1.453 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.023e-05/0.005231, allocations: 20.78 kB / 272.8 MB, free: 1.43 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.005233, allocations: 0 / 272.8 MB, free: 1.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.189e-05/0.005265, allocations: 29.7 kB / 272.8 MB, free: 1.395 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.005275, allocations: 4 kB / 272.8 MB, free: 1.391 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.00528, allocations: 7.938 kB / 272.9 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.005288, allocations: 0 / 272.9 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.106e-05/0.005329, allocations: 3.984 kB / 272.9 MB, free: 1.379 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.005333, allocations: 0 / 272.9 MB, free: 1.379 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.005348, allocations: 4.094 kB / 272.9 MB, free: 1.375 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-06/0.005353, allocations: 4 kB / 272.9 MB, free: 1.371 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 4.724e-05/0.0054, allocations: 108.7 kB / 273 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.005444, allocations: 53.61 kB / 273 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.00547, allocations: 15.91 kB / 273 MB, free: 1.176 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.005472, allocations: 4 kB / 273 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.005475, allocations: 3.938 kB / 273.1 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.005478, allocations: 0 / 273.1 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.762e-05/0.005576, allocations: 81.88 kB / 273.1 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.005577, allocations: 4.094 kB / 273.1 MB, free: 1.066 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.454e-05/0.005612, allocations: 15.98 kB / 273.2 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.005614, allocations: 0 / 273.2 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.005619, allocations: 0 / 273.2 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.005622, allocations: 4 kB / 273.2 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.005624, allocations: 3.938 kB / 273.2 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.103e-05/0.005695, allocations: 150.1 kB / 273.3 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.759e-05/0.005722, allocations: 23.88 kB / 273.3 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.005731, allocations: 0 / 273.3 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.418e-05/0.005766, allocations: 4 kB / 273.3 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.005786, allocations: 7.969 kB / 273.3 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.00579, allocations: 4 kB / 273.3 MB, free: 0.832 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.266e-05/0.005813, allocations: 32.81 kB / 273.4 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005813, allocations: 0 / 273.4 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001127/0.005925, allocations: 8 kB / 273.4 MB, free: 0.7891 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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 5.56e-05/0.005981, allocations: 76.42 kB / 273.5 MB, free: 0.707 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.279e-05/0.006034, allocations: 24.78 kB / 273.5 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.006036, allocations: 3.938 kB / 273.5 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.006046, allocations: 12.92 kB / 273.5 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.006239, allocations: 41.36 kB / 273.5 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.006586, allocations: 212 kB / 273.7 MB, free: 384 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.385e-05/0.00662, allocations: 59.34 kB / 273.8 MB, free: 304 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.003e-05/0.00664, allocations: 4 kB / 273.8 MB, free: 300 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.006692, allocations: 63.7 kB / 273.9 MB, free: 236 kB / 250.7 MB Notification: Performance of SimCode: time 4.51e-07/0.006693, allocations: 4 kB / 273.9 MB, free: 232 kB / 250.7 MB Notification: Performance of Templates: time 0.002181/0.008873, allocations: 0.9645 MB / 274.8 MB, free: 15.29 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.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.3835603180341423]