Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001389/0.001389, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001494/0.001494, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.89 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3647, allocations: 53.41 MB / 432.5 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003473/0.3682, allocations: 1.636 MB / 434.1 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.3695, allocations: 0.5959 MB / 434.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.3696, allocations: 7.938 kB / 434.7 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.083e-05/0.3697, allocations: 3.938 kB / 434.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.3699, allocations: 15.86 kB / 434.7 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.3703, allocations: 63.75 kB / 434.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.3705, allocations: 63.77 kB / 434.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.3706, allocations: 8.234 kB / 434.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.3708, allocations: 35.86 kB / 434.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.649e-05/0.3708, allocations: 27.84 kB / 434.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.3709, allocations: 11.94 kB / 434.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.3709, allocations: 11.98 kB / 434.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.371, allocations: 11.94 kB / 434.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.495e-05/0.3711, allocations: 31.8 kB / 435 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.3713, allocations: 76.81 kB / 435 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3713, allocations: 0 / 435 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.3713, allocations: 3.938 kB / 435.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.3713, allocations: 0 / 435.1 MB, free: 4.141 MB / 334.1 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.0006555/0.372, allocations: 313.9 kB / 435.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.372, allocations: 8.031 kB / 435.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.3722, allocations: 28.83 kB / 435.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.3726, allocations: 157.3 kB / 435.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.3726, allocations: 4.375 kB / 435.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.3726, allocations: 4.375 kB / 435.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.373, allocations: 151 kB / 435.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.373, allocations: 0 / 435.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.373, allocations: 0 / 435.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.373, allocations: 0 / 435.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.016e-05/0.3731, allocations: 27.92 kB / 435.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.3735, allocations: 262.5 kB / 436 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.3737, allocations: 98.36 kB / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.594e-05/0.3738, allocations: 43.48 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.3738, allocations: 0 / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.3739, allocations: 46.48 kB / 436.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3739, allocations: 4 kB / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003277/0.3742, allocations: 93.56 kB / 436.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.3743, allocations: 140.5 kB / 436.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.3745, allocations: 150.8 kB / 436.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3745, allocations: 25.7 kB / 436.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.719e-05/0.3746, allocations: 96.12 kB / 436.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.3746, allocations: 7.953 kB / 436.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.3747, allocations: 17.72 kB / 436.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3748, allocations: 326.8 kB / 437 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.423e-05/0.3749, allocations: 7.984 kB / 437 MB, free: 1.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.803e-05/0.3749, allocations: 53.16 kB / 437.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.3751, allocations: 65 kB / 437.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3751, allocations: 4 kB / 437.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001716/0.3752, allocations: 85.5 kB / 437.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.3753, allocations: 10.44 kB / 437.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.3753, allocations: 4 kB / 437.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3753, allocations: 0 / 437.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.3754, allocations: 16 kB / 437.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3754, allocations: 4.125 kB / 437.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.3755, allocations: 11.98 kB / 437.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.3755, allocations: 7.984 kB / 437.3 MB, free: 1.617 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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 prepare postOptimizeDAE: time 0.0001078/0.3756, allocations: 121.7 kB / 437.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.3757, allocations: 69.53 kB / 437.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/0.3757, allocations: 23.84 kB / 437.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.3757, allocations: 4 kB / 437.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3757, allocations: 0 / 437.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.413e-06/0.3757, allocations: 8.094 kB / 437.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.376, allocations: 156.6 kB / 437.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.376, allocations: 0 / 437.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.741e-05/0.376, allocations: 12 kB / 437.7 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.376, allocations: 0 / 437.7 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3761, allocations: 3.984 kB / 437.7 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3761, allocations: 4 kB / 437.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3761, allocations: 0 / 437.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.3763, allocations: 205.9 kB / 437.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.3764, allocations: 15.94 kB / 437.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.3764, allocations: 4.188 kB / 437.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.3765, allocations: 8 kB / 437.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.3765, allocations: 0 / 437.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.3765, allocations: 4 kB / 437.9 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.708e-05/0.3766, allocations: 123.9 kB / 438 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3766, allocations: 0 / 438 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.3768, allocations: 8 kB / 438 MB, free: 0.7734 MB / 334.1 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.0001276/0.377, allocations: 99.23 kB / 438.1 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.3772, allocations: 43.86 kB / 438.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3772, allocations: 384 / 438.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.733e-05/0.3772, allocations: 11.98 kB / 438.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.3777, allocations: 47.58 kB / 438.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.3782, allocations: 239.5 kB / 438.5 MB, free: 304 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.3787, allocations: 0.7005 MB / 439.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.3787, allocations: 19.36 kB / 439.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3787, allocations: 3.938 kB / 439.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of Templates: time 0.003203/0.3819, allocations: 1.036 MB / 440.2 MB, free: 14.52 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.498588799033314]