Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 80.8 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 169.9 kB / 24.91 MB, free: 9.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.816e-05, allocations: 2.312 kB / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.00249/0.002518, allocations: 1.717 MB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.00352, allocations: 0.5879 MB / 275.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.651e-05/0.003617, allocations: 7.938 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.182e-05/0.003668, allocations: 3.938 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.003827, allocations: 23.8 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.004138, allocations: 63.69 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.004343, allocations: 59.78 kB / 276 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.773e-05/0.00443, allocations: 20.22 kB / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.004574, allocations: 39.89 kB / 276 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.14e-05/0.004626, allocations: 15.92 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.004641, allocations: 4 kB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.289e-05/0.004693, allocations: 11.94 kB / 276 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.846e-05/0.004732, allocations: 19.91 kB / 276.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.004752, allocations: 15.94 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.004871, allocations: 55.69 kB / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.004874, allocations: 0 / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004875, allocations: 4 kB / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.004879, allocations: 4 kB / 276.1 MB, free: 14.59 MB / 266.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.0002841/0.005163, allocations: 284.6 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.005201, allocations: 8.031 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.005307, allocations: 20.91 kB / 276.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.005487, allocations: 162.2 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.005495, allocations: 4.375 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-06/0.005502, allocations: 384 / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.005678, allocations: 144 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.005687, allocations: 4.125 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.005695, allocations: 384 / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.0057, allocations: 3.938 kB / 276.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.024e-05/0.00572, allocations: 8 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.005894, allocations: 170.8 kB / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.757e-05/0.005962, allocations: 86.41 kB / 277 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.00599, allocations: 31.5 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.006007, allocations: 0 / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.006033, allocations: 38.5 kB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.006034, allocations: 0 / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001394/0.006173, allocations: 73.48 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.006235, allocations: 133 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.401e-05/0.006319, allocations: 153.1 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.006329, allocations: 25.7 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.006362, allocations: 88.12 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.006378, allocations: 7.938 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.006401, allocations: 13.72 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.257e-05/0.006484, allocations: 322.8 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.263e-06/0.006491, allocations: 0 / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-06/0.006499, allocations: 3.938 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.285e-05/0.006521, allocations: 12.84 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.006523, allocations: 64 / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.527e-05/0.006568, allocations: 37.7 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.00658, allocations: 4 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.006586, allocations: 7.875 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.006597, allocations: 3.984 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.348e-05/0.006641, allocations: 4 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.006643, allocations: 0 / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.461e-05/0.006658, allocations: 0 / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.006663, allocations: 0 / 278 MB, free: 12.54 MB / 266.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 5.565e-05/0.006718, allocations: 112.7 kB / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.006768, allocations: 61.58 kB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.006793, allocations: 19.91 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006795, allocations: 0 / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.006797, allocations: 0 / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.006801, allocations: 4 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.163e-05/0.006893, allocations: 81.83 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.006895, allocations: 4 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.072e-05/0.006925, allocations: 11.98 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.006927, allocations: 0 / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.006933, allocations: 4.094 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.006935, allocations: 8 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.006937, allocations: 3.938 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.137e-05/0.007019, allocations: 154.1 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-05/0.007047, allocations: 15.94 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.007057, allocations: 4 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.386e-05/0.007091, allocations: 3.984 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.007115, allocations: 7.938 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.007119, allocations: 3.984 kB / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.676e-05/0.007146, allocations: 35.88 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007146, allocations: 4.031 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001158/0.007262, allocations: 8 kB / 278.5 MB, free: 11.95 MB / 266.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 8.592e-05/0.007348, allocations: 83.88 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.096e-05/0.007409, allocations: 24.78 kB / 278.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.007411, allocations: 0 / 278.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.051e-05/0.007422, allocations: 4.859 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.007637, allocations: 33.78 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/0.008106, allocations: 217 kB / 278.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.008491, allocations: 67.28 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.143e-05/0.008522, allocations: 4 kB / 278.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.562e-05/0.008588, allocations: 67.3 kB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.008589, allocations: 0 / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of Templates: time 0.002482/0.01107, allocations: 0.9608 MB / 279.9 MB, free: 10.44 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.679513746406883]