Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.00197/0.00197, 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.002523/0.002523, 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.518/1.518, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 59.91 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2936, allocations: 53.41 MB / 432.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002817/0.2964, allocations: 1.508 MB / 434 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000896/0.2973, allocations: 450.9 kB / 434.4 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.082e-05/0.2974, allocations: 3.938 kB / 434.4 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.369e-05/0.2974, allocations: 0 / 434.4 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.601e-05/0.2975, allocations: 11.88 kB / 434.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.2978, allocations: 19.97 kB / 434.4 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.2979, allocations: 43.8 kB / 434.5 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.298, allocations: 11.98 kB / 434.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.875e-05/0.298, allocations: 11.94 kB / 434.5 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.374e-05/0.2981, allocations: 15.92 kB / 434.5 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.2981, allocations: 4 kB / 434.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.2981, allocations: 4 kB / 434.5 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.2981, allocations: 11.97 kB / 434.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.2982, allocations: 15.88 kB / 434.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.2983, allocations: 33.44 kB / 434.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2983, allocations: 0 / 434.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2983, allocations: 4 kB / 434.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.2983, allocations: 0 / 434.6 MB, free: 4.59 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.0004921/0.2988, allocations: 277.9 kB / 434.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.2988, allocations: 8.031 kB / 434.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.2988, allocations: 8.891 kB / 434.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.2991, allocations: 126.4 kB / 435 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.2991, allocations: 4.312 kB / 435 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.2991, allocations: 384 / 435 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004778/0.2996, allocations: 147.6 kB / 435.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2996, allocations: 0 / 435.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.2996, allocations: 0 / 435.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2996, allocations: 0 / 435.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.2997, allocations: 39.95 kB / 435.2 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.2999, allocations: 132.7 kB / 435.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.3002, allocations: 78.52 kB / 435.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.3003, allocations: 36.92 kB / 435.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.3003, allocations: 0 / 435.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.3004, allocations: 42.48 kB / 435.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3004, allocations: 0 / 435.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003579/0.3007, allocations: 93.77 kB / 435.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.3008, allocations: 59.41 kB / 435.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.3009, allocations: 105.8 kB / 435.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3009, allocations: 29.7 kB / 435.7 MB, free: 3.266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.3009, allocations: 88.08 kB / 435.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.073e-06/0.301, allocations: 0 / 435.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.301, allocations: 13.72 kB / 435.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3011, allocations: 318.8 kB / 436.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.3012, allocations: 4 kB / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.025e-05/0.3012, allocations: 35.42 kB / 436.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.721e-05/0.3012, allocations: 31.36 kB / 436.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3012, allocations: 4 kB / 436.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.056e-05/0.3013, allocations: 65.53 kB / 436.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3014, allocations: 10.44 kB / 436.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3014, allocations: 3.984 kB / 436.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3014, allocations: 4 kB / 436.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/0.3014, allocations: 4 kB / 436.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3015, allocations: 0 / 436.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.3015, allocations: 4 kB / 436.3 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.3015, allocations: 0 / 436.3 MB, free: 2.645 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 8.876e-05/0.3016, allocations: 118 kB / 436.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.3018, allocations: 81.53 kB / 436.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.3018, allocations: 4 kB / 436.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3018, allocations: 0 / 436.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3018, allocations: 0 / 436.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.3018, allocations: 3.984 kB / 436.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.3019, allocations: 136.6 kB / 436.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3019, allocations: 0 / 436.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.608e-05/0.302, allocations: 11.98 kB / 436.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.302, allocations: 11.88 kB / 436.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.302, allocations: 4 kB / 436.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.302, allocations: 0 / 436.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.302, allocations: 0 / 436.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.3023, allocations: 101.1 kB / 436.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.3023, allocations: 7.891 kB / 436.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.3023, allocations: 0 / 436.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.958e-05/0.3023, allocations: 15.98 kB / 436.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-06/0.3023, allocations: 0 / 436.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.3023, allocations: 7.938 kB / 436.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.27e-05/0.3024, allocations: 79.59 kB / 436.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3024, allocations: 3.938 kB / 436.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001899/0.3026, allocations: 8 kB / 436.9 MB, free: 1.977 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.0001128/0.3027, allocations: 99.23 kB / 437 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.3029, allocations: 27.98 kB / 437 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3029, allocations: 3.938 kB / 437 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.3029, allocations: 4 kB / 437 MB, free: 1.836 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.3032, allocations: 30.81 kB / 437.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.3035, allocations: 147.3 kB / 437.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.3038, allocations: 0.6887 MB / 437.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.3039, allocations: 7.438 kB / 437.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3039, allocations: 0 / 437.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of Templates: time 0.002132/0.306, allocations: 0.6153 MB / 438.5 MB, free: 316 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 6.9227559310384095]