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.001018/0.001018, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.0009642/0.0009642, allocations: 172.4 kB / 25.61 MB, free: 8.902 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 0.9658/0.9658, allocations: 177.1 MB / 206.1 MB, free: 4.504 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 1.623e-06/1.623e-06, allocations: 0 / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.057e-05/3.219e-05, allocations: 6.25 kB / 274.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003187/0.003219, allocations: 1.655 MB / 275.9 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.00424, allocations: 0.5634 MB / 276.4 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.004346, allocations: 7.938 kB / 276.4 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.702e-05/0.004403, allocations: 3.938 kB / 276.4 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.004567, allocations: 20.38 kB / 276.5 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.004897, allocations: 68.12 kB / 276.5 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.005033, allocations: 59.78 kB / 276.6 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.005141, allocations: 20.84 kB / 276.6 MB, free: 1.984 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.005288, allocations: 44.52 kB / 276.6 MB, free: 1.941 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.028e-05/0.005348, allocations: 15.92 kB / 276.7 MB, free: 1.926 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.005367, allocations: 0.6562 kB / 276.7 MB, free: 1.926 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.442e-05/0.005411, allocations: 10.47 kB / 276.7 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.005471, allocations: 23.91 kB / 276.7 MB, free: 1.895 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.005497, allocations: 11.94 kB / 276.7 MB, free: 1.883 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.005647, allocations: 63.62 kB / 276.8 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005649, allocations: 0 / 276.8 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.00565, allocations: 4 kB / 276.8 MB, free: 1.816 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.005655, allocations: 0 / 276.8 MB, free: 1.816 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.0004739/0.006129, allocations: 414.2 kB / 277.2 MB, free: 1.379 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.006169, allocations: 8.031 kB / 277.2 MB, free: 1.371 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.006312, allocations: 24.83 kB / 277.2 MB, free: 1.348 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.006532, allocations: 164.3 kB / 277.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.006542, allocations: 384 / 277.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.006558, allocations: 8.375 kB / 277.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.006801, allocations: 152.9 kB / 277.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.006811, allocations: 4.188 kB / 277.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.00682, allocations: 384 / 277.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.006829, allocations: 3.938 kB / 277.5 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.977e-05/0.006858, allocations: 19.92 kB / 277.6 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002886/0.007147, allocations: 279.3 kB / 277.8 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.007252, allocations: 108.3 kB / 277.9 MB, free: 484 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.484e-05/0.007297, allocations: 46.86 kB / 278 MB, free: 420 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.007315, allocations: 4 kB / 278 MB, free: 416 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.007343, allocations: 37.33 kB / 278 MB, free: 368 kB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.007345, allocations: 0 / 278 MB, free: 368 kB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001929/0.007537, allocations: 89.44 kB / 278.1 MB, free: 272 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.007606, allocations: 132.5 kB / 278.2 MB, free: 108 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.007757, allocations: 208.7 kB / 278.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.007772, allocations: 25.7 kB / 278.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.007835, allocations: 134.9 kB / 278.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.007852, allocations: 7.953 kB / 278.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.007888, allocations: 23.36 kB / 278.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.008036, allocations: 0.4889 MB / 279.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.737e-06/0.008045, allocations: 4 kB / 279.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-06/0.008053, allocations: 0 / 279.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.719e-05/0.00808, allocations: 15.62 kB / 279.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.008082, allocations: 0 / 279.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.121e-05/0.008143, allocations: 45.58 kB / 279.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.008156, allocations: 7.938 kB / 279.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.008162, allocations: 4 kB / 279.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.008171, allocations: 0 / 279.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.197e-05/0.008223, allocations: 4 kB / 279.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.008226, allocations: 4.094 kB / 279.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.008247, allocations: 0 / 279.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.008254, allocations: 3.984 kB / 279.2 MB, free: 15.08 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.233e-05/0.008337, allocations: 156.6 kB / 279.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/0.008419, allocations: 65.52 kB / 279.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.008453, allocations: 15.91 kB / 279.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.008455, allocations: 0 / 279.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.008459, allocations: 4 kB / 279.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.008463, allocations: 0 / 279.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.008621, allocations: 113.3 kB / 279.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.008624, allocations: 4 kB / 279.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.868e-05/0.008673, allocations: 11.98 kB / 279.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.008675, allocations: 0 / 279.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.008685, allocations: 4 kB / 279.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.008687, allocations: 0 / 279.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.008692, allocations: 7.938 kB / 279.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.008823, allocations: 218.9 kB / 279.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.008861, allocations: 19.88 kB / 279.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.008876, allocations: 8 kB / 279.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.214e-05/0.008938, allocations: 4.031 kB / 279.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.008965, allocations: 7.938 kB / 279.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.00897, allocations: 0 / 279.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.388e-05/0.009043, allocations: 150.4 kB / 280 MB, free: 14.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009043, allocations: 0 / 280 MB, free: 14.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002471/0.009291, allocations: 12 kB / 280 MB, free: 14.22 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 9.045e-05/0.009381, allocations: 95.19 kB / 280.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.033e-05/0.009461, allocations: 23.61 kB / 280.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.009463, allocations: 8.062 kB / 280.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.434e-05/0.009478, allocations: 7.688 kB / 280.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.009834, allocations: 41.28 kB / 280.2 MB, free: 14.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/0.01032, allocations: 216.5 kB / 280.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.853e-05/0.01037, allocations: 71.14 kB / 280.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.27e-05/0.0104, allocations: 12.31 kB / 280.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.447e-05/0.01048, allocations: 86.19 kB / 280.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01048, allocations: 7.938 kB / 280.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of Templates: time 0.003214/0.01369, allocations: 0.9805 MB / 281.5 MB, free: 12.63 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.709399753715843]