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.001712/0.001712, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.0022/0.0022, allocations: 207.5 kB / 23.73 MB, free: 4.379 MB / 14.72 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.546/1.546, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001656/0.001656, allocations: 51.92 kB / 378.2 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2915, allocations: 53.36 MB / 431.6 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.00385/0.2954, allocations: 1.629 MB / 433.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.2966, allocations: 0.5453 MB / 433.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.2967, allocations: 7.938 kB / 433.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.335e-05/0.2967, allocations: 3.938 kB / 433.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.2969, allocations: 11.88 kB / 433.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.2972, allocations: 75.67 kB / 433.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.2974, allocations: 59.78 kB / 433.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.2975, allocations: 16.22 kB / 433.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.2976, allocations: 39.78 kB / 434 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.083e-05/0.2977, allocations: 27.86 kB / 434 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.2977, allocations: 4 kB / 434 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.143e-05/0.2978, allocations: 4 kB / 434 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.696e-05/0.2978, allocations: 15.92 kB / 434 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.2979, allocations: 23.81 kB / 434 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.2981, allocations: 77.84 kB / 434.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2981, allocations: 0 / 434.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2981, allocations: 4 kB / 434.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2981, allocations: 0 / 434.1 MB, free: 4.129 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.0005885/0.2987, allocations: 321.8 kB / 434.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2987, allocations: 16.02 kB / 434.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.2988, allocations: 20.78 kB / 434.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.2992, allocations: 150.3 kB / 434.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.2992, allocations: 4.375 kB / 434.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.2992, allocations: 4.375 kB / 434.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.2995, allocations: 143 kB / 434.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2996, allocations: 0 / 434.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.2996, allocations: 4 kB / 434.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2996, allocations: 0 / 434.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.2997, allocations: 31.92 kB / 434.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.3, allocations: 223.1 kB / 435 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.3002, allocations: 98.3 kB / 435.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.856e-05/0.3003, allocations: 43.48 kB / 435.2 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.3003, allocations: 11.98 kB / 435.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.3003, allocations: 34.56 kB / 435.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3003, allocations: 3.938 kB / 435.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003121/0.3007, allocations: 98 kB / 435.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.3008, allocations: 148.4 kB / 435.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.3009, allocations: 147.9 kB / 435.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.301, allocations: 29.7 kB / 435.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.301, allocations: 88.14 kB / 435.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.301, allocations: 7.953 kB / 435.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.3011, allocations: 21.7 kB / 435.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3012, allocations: 318.8 kB / 436 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.671e-05/0.3013, allocations: 7.984 kB / 436.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.3014, allocations: 49.14 kB / 436.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.3015, allocations: 65.08 kB / 436.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3015, allocations: 7.938 kB / 436.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001806/0.3016, allocations: 81.5 kB / 436.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3017, allocations: 12.19 kB / 436.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3017, allocations: 128 / 436.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3017, allocations: 8 kB / 436.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.834e-05/0.3018, allocations: 15.92 kB / 436.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3018, allocations: 4 kB / 436.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.875e-05/0.3018, allocations: 8 kB / 436.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.3018, allocations: 0 / 436.3 MB, free: 1.66 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 9.479e-05/0.3019, allocations: 125.7 kB / 436.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.3021, allocations: 77.53 kB / 436.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.3021, allocations: 19.91 kB / 436.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3021, allocations: 4 kB / 436.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3021, allocations: 0 / 436.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3021, allocations: 0 / 436.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.3023, allocations: 129.2 kB / 436.7 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3023, allocations: 4 kB / 436.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.686e-05/0.3024, allocations: 11.94 kB / 436.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3024, allocations: 4 kB / 436.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3024, allocations: 7.969 kB / 436.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.3024, allocations: 3.984 kB / 436.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3024, allocations: 8.031 kB / 436.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.3026, allocations: 198 kB / 436.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.3027, allocations: 23.94 kB / 436.9 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.3027, allocations: 3.938 kB / 436.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.3027, allocations: 4 kB / 436.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.3028, allocations: 0 / 436.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.3028, allocations: 4 kB / 436.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.305e-05/0.3029, allocations: 118.9 kB / 437 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3029, allocations: 0 / 437 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.3031, allocations: 12 kB / 437 MB, free: 0.8438 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.0001226/0.3032, allocations: 103.2 kB / 437.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.3034, allocations: 39.92 kB / 437.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3034, allocations: 0 / 437.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.117e-05/0.3034, allocations: 11.92 kB / 437.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.3038, allocations: 48.55 kB / 437.2 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.3043, allocations: 217.9 kB / 437.5 MB, free: 400 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.594e-05/0.3043, allocations: 76.08 kB / 437.5 MB, free: 304 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.636e-05/0.3044, allocations: 8.656 kB / 437.5 MB, free: 296 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.3044, allocations: 15.44 kB / 437.6 MB, free: 280 kB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3044, allocations: 0 / 437.6 MB, free: 280 kB / 334.1 MB Notification: Performance of Templates: time 0.003907/0.3083, allocations: 1.004 MB / 438.6 MB, free: 15.29 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.744782373774797]