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.001287/0.001287, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001588/0.001588, allocations: 213.6 kB / 23.73 MB, free: 4.156 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.002279/0.002279, allocations: 55.86 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2763, allocations: 53.35 MB / 431.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002952/0.2792, allocations: 1.628 MB / 433.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.2803, allocations: 0.5454 MB / 433.7 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.949e-05/0.2804, allocations: 7.938 kB / 433.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.979e-05/0.2805, allocations: 7.922 kB / 433.8 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.2806, allocations: 15.86 kB / 433.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.2809, allocations: 67.73 kB / 433.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.281, allocations: 59.78 kB / 433.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.699e-05/0.2811, allocations: 12.22 kB / 433.9 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.2812, allocations: 39.84 kB / 434 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.492e-05/0.2813, allocations: 31.8 kB / 434 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.2813, allocations: 4 kB / 434 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.408e-05/0.2814, allocations: 4 kB / 434 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.2814, allocations: 15.92 kB / 434 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.2815, allocations: 27.8 kB / 434 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.2816, allocations: 77.89 kB / 434.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.2816, allocations: 0 / 434.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2816, allocations: 0 / 434.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.2816, allocations: 4 kB / 434.1 MB, free: 4.184 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.0004822/0.2821, allocations: 317.8 kB / 434.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2822, allocations: 16.03 kB / 434.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.2823, allocations: 20.83 kB / 434.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.2826, allocations: 154.3 kB / 434.6 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.2826, allocations: 384 / 434.6 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.2826, allocations: 8.375 kB / 434.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.2829, allocations: 139 kB / 434.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2829, allocations: 0 / 434.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.2829, allocations: 7.984 kB / 434.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.2829, allocations: 0 / 434.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.417e-05/0.283, allocations: 35.86 kB / 434.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.2834, allocations: 223.1 kB / 435 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.2835, allocations: 98.3 kB / 435.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.152e-05/0.2836, allocations: 43.48 kB / 435.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.2836, allocations: 8 kB / 435.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.2836, allocations: 34.55 kB / 435.2 MB, free: 2.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.2836, allocations: 4 kB / 435.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003452/0.284, allocations: 97.5 kB / 435.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.2841, allocations: 137 kB / 435.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.2842, allocations: 159.8 kB / 435.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.2843, allocations: 25.7 kB / 435.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.2843, allocations: 96.12 kB / 435.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.2843, allocations: 7.953 kB / 435.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.992e-05/0.2844, allocations: 17.72 kB / 435.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.2846, allocations: 318.8 kB / 436 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.544e-05/0.2846, allocations: 11.98 kB / 436.1 MB, free: 2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.536e-05/0.2847, allocations: 49.14 kB / 436.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.2848, allocations: 65.08 kB / 436.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.2848, allocations: 7.938 kB / 436.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001635/0.285, allocations: 81.62 kB / 436.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.285, allocations: 8.188 kB / 436.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.285, allocations: 8 kB / 436.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.285, allocations: 4 kB / 436.3 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.2851, allocations: 11.94 kB / 436.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.2851, allocations: 7.984 kB / 436.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.2852, allocations: 4 kB / 436.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.2852, allocations: 4 kB / 436.3 MB, free: 1.711 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.0001024/0.2853, allocations: 129.7 kB / 436.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.2854, allocations: 69.53 kB / 436.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.2854, allocations: 24 kB / 436.5 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2855, allocations: 4 kB / 436.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2855, allocations: 0 / 436.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2855, allocations: 0 / 436.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.2856, allocations: 125.2 kB / 436.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.2856, allocations: 4 kB / 436.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.819e-05/0.2857, allocations: 11.94 kB / 436.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2857, allocations: 0 / 436.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.2857, allocations: 4 kB / 436.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.2857, allocations: 3.984 kB / 436.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2857, allocations: 4 kB / 436.7 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.2859, allocations: 202 kB / 436.9 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.286, allocations: 23.94 kB / 436.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.286, allocations: 3.938 kB / 436.9 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-05/0.2861, allocations: 4 kB / 436.9 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.2861, allocations: 3.984 kB / 436.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.2861, allocations: 7.938 kB / 436.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.265e-05/0.2862, allocations: 118.9 kB / 437 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2862, allocations: 0 / 437 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.2865, allocations: 8 kB / 437 MB, free: 0.9023 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.0001165/0.2866, allocations: 107.2 kB / 437.1 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.2867, allocations: 35.92 kB / 437.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2867, allocations: 0 / 437.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/0.2868, allocations: 15.92 kB / 437.2 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.2872, allocations: 52.58 kB / 437.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.2876, allocations: 217.8 kB / 437.5 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.854e-05/0.2877, allocations: 76.08 kB / 437.5 MB, free: 360 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.693e-05/0.2877, allocations: 8.656 kB / 437.5 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.2878, allocations: 15.44 kB / 437.6 MB, free: 336 kB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2878, allocations: 0 / 437.6 MB, free: 336 kB / 334.1 MB Notification: Performance of Templates: time 0.00421/0.292, allocations: 0.9666 MB / 438.5 MB, free: 15.38 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.5211932603269815]