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.0009437/0.0009437, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001002/0.001002, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.077/1.077, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.094e-06/2.094e-06, allocations: 0 / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.307e-05, allocations: 2.312 kB / 273.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.004166/0.004199, allocations: 1.66 MB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.005471, allocations: 0.5647 MB / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.005606, allocations: 3.938 kB / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.92e-05/0.005665, allocations: 15.86 kB / 275.6 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.005832, allocations: 11.86 kB / 275.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.006264, allocations: 67.69 kB / 275.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.006406, allocations: 63.77 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.006511, allocations: 8.234 kB / 275.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.006729, allocations: 59.81 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.352e-05/0.006792, allocations: 15.92 kB / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.006814, allocations: 4 kB / 275.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.759e-05/0.006862, allocations: 8 kB / 275.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.006908, allocations: 19.92 kB / 275.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.006935, allocations: 15.92 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.007095, allocations: 55.7 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.007098, allocations: 0 / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.007099, allocations: 0 / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.007104, allocations: 0 / 276 MB, free: 14.68 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.0004738/0.007578, allocations: 424.1 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.00762, allocations: 12.03 kB / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.00778, allocations: 24.84 kB / 276.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.007998, allocations: 157.2 kB / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.008011, allocations: 8.375 kB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.00802, allocations: 4.375 kB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.008274, allocations: 156.9 kB / 276.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.008284, allocations: 192 / 276.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.008295, allocations: 8.359 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.008304, allocations: 7.938 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.823e-05/0.008333, allocations: 7.938 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.008642, allocations: 275.4 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.008749, allocations: 120.3 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.197e-05/0.008791, allocations: 42.81 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.008812, allocations: 0 / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.008843, allocations: 45.38 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.008845, allocations: 0 / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001972/0.009042, allocations: 77.45 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.009111, allocations: 137 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.009237, allocations: 209.1 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.009251, allocations: 25.7 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.00931, allocations: 142.8 kB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.009328, allocations: 7.953 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.009364, allocations: 19.38 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.009516, allocations: 496.1 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.009529, allocations: 7.984 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-06/0.009538, allocations: 0 / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.329e-05/0.009561, allocations: 11.62 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.009562, allocations: 4 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.974e-05/0.009632, allocations: 41.66 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.009652, allocations: 11.94 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.009656, allocations: 0 / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.009669, allocations: 0 / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/0.009739, allocations: 3.984 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.009743, allocations: 4 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.009766, allocations: 0 / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.009772, allocations: 0 / 278.4 MB, free: 11.93 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 8.311e-05/0.009855, allocations: 160.6 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.213e-05/0.009947, allocations: 61.61 kB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.009984, allocations: 15.91 kB / 278.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.009989, allocations: 4 kB / 278.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.009992, allocations: 0 / 278.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.009998, allocations: 3.984 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.01016, allocations: 109.2 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01017, allocations: 0 / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-05/0.01023, allocations: 12 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.01023, allocations: 0 / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.01024, allocations: 0 / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.01025, allocations: 16.02 kB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/0.01025, allocations: 3.938 kB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.0104, allocations: 218.9 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.01045, allocations: 23.92 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.01047, allocations: 0 / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.01054, allocations: 4 kB / 279 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.01057, allocations: 7.922 kB / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.01058, allocations: 4 kB / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.598e-05/0.01065, allocations: 149.4 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01065, allocations: 0 / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002229/0.01088, allocations: 11.97 kB / 279.2 MB, free: 11.07 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 0.0001098/0.01099, allocations: 103.2 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.755e-05/0.01107, allocations: 19.69 kB / 279.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.01108, allocations: 0 / 279.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.988e-05/0.0111, allocations: 15.62 kB / 279.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.01148, allocations: 42.97 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.01208, allocations: 216.8 kB / 279.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.282e-05/0.01213, allocations: 67.33 kB / 279.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.01223, allocations: 7.984 kB / 279.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.949e-05/0.01231, allocations: 82.19 kB / 279.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01231, allocations: 0 / 279.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of Templates: time 0.002451/0.01476, allocations: 0.9909 MB / 280.7 MB, free: 9.48 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 -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.8419363987632096]