Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.00222/0.00222, 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.002488/0.002488, allocations: 207.9 kB / 23.73 MB, free: 4.387 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.549/1.549, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 51.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2768, allocations: 53.36 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003782/0.2806, allocations: 1.504 MB / 433.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009924/0.2816, allocations: 426.9 kB / 433.5 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.2817, allocations: 0 / 433.5 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.89e-05/0.2817, allocations: 3.938 kB / 433.5 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.2819, allocations: 7.922 kB / 433.5 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.2822, allocations: 27.91 kB / 433.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.2823, allocations: 35.86 kB / 433.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.2824, allocations: 8 kB / 433.6 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.985e-05/0.2825, allocations: 15.92 kB / 433.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.072e-05/0.2825, allocations: 15.92 kB / 433.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.2826, allocations: 4 kB / 433.6 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.487e-05/0.2826, allocations: 8 kB / 433.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.2826, allocations: 7.984 kB / 433.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.2826, allocations: 11.94 kB / 433.6 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.2828, allocations: 38.36 kB / 433.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2828, allocations: 0 / 433.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2828, allocations: 3.938 kB / 433.7 MB, free: 4.609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.2828, allocations: 0 / 433.7 MB, free: 4.609 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005706/0.2834, allocations: 281.9 kB / 434 MB, free: 4.309 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.2834, allocations: 8.031 kB / 434 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.2834, allocations: 8.891 kB / 434 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.2837, allocations: 122.5 kB / 434.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.2838, allocations: 4.375 kB / 434.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.2838, allocations: 4.375 kB / 434.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005529/0.2843, allocations: 139.5 kB / 434.2 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2843, allocations: 0 / 434.2 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.2843, allocations: 4 kB / 434.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.2844, allocations: 4 kB / 434.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.2845, allocations: 35.97 kB / 434.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.2847, allocations: 105.3 kB / 434.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.285, allocations: 70.52 kB / 434.5 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.2852, allocations: 40.91 kB / 434.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.2852, allocations: 3.984 kB / 434.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.2852, allocations: 38.5 kB / 434.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.2852, allocations: 0 / 434.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004191/0.2856, allocations: 93.58 kB / 434.6 MB, free: 3.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.2857, allocations: 59.39 kB / 434.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.2858, allocations: 101.9 kB / 434.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.2859, allocations: 25.7 kB / 434.8 MB, free: 3.336 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/0.2859, allocations: 96.12 kB / 434.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.2859, allocations: 0 / 434.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/0.286, allocations: 17.72 kB / 434.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.2862, allocations: 310.8 kB / 435.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.2862, allocations: 11.92 kB / 435.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-05/0.2863, allocations: 31.38 kB / 435.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.155e-05/0.2863, allocations: 35.38 kB / 435.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2863, allocations: 4 kB / 435.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001032/0.2864, allocations: 57.58 kB / 435.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.2864, allocations: 4 kB / 435.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.2865, allocations: 3.938 kB / 435.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.2865, allocations: 4 kB / 435.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.747e-05/0.2865, allocations: 4 kB / 435.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.2866, allocations: 8.25 kB / 435.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.083e-05/0.2866, allocations: 0 / 435.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.2866, allocations: 0 / 435.4 MB, free: 2.711 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.0001295/0.2867, allocations: 125.9 kB / 435.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.2869, allocations: 77.61 kB / 435.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.287, allocations: 7.938 kB / 435.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.287, allocations: 0 / 435.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.287, allocations: 8 kB / 435.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.287, allocations: 0 / 435.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.2871, allocations: 109.2 kB / 435.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2871, allocations: 0 / 435.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.17e-05/0.2872, allocations: 11.98 kB / 435.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2872, allocations: 4 kB / 435.7 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.2872, allocations: 0 / 435.7 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.2872, allocations: 3.938 kB / 435.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2872, allocations: 0 / 435.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.2875, allocations: 105 kB / 435.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.2875, allocations: 3.953 kB / 435.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.2875, allocations: 7.984 kB / 435.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.977e-05/0.2876, allocations: 7.938 kB / 435.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-06/0.2876, allocations: 4 kB / 435.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.2876, allocations: 0 / 435.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.647e-05/0.2876, allocations: 91.25 kB / 435.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2876, allocations: 4 kB / 435.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001897/0.2878, allocations: 4 kB / 435.9 MB, free: 2.074 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.0001351/0.288, allocations: 95.25 kB / 436 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.2882, allocations: 35.91 kB / 436.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2882, allocations: 256 / 436.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-07/0.2882, allocations: 4 kB / 436.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.2886, allocations: 30.97 kB / 436.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.289, allocations: 124.4 kB / 436.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.974e-05/0.2891, allocations: 75.22 kB / 436.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.01e-05/0.2891, allocations: 3.984 kB / 436.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.2891, allocations: 7.438 kB / 436.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of SimCode: time 1.613e-06/0.2891, allocations: 0 / 436.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of Templates: time 0.004667/0.2938, allocations: 478.7 kB / 436.8 MB, free: 1.191 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.752677555195987]