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.0009559/0.0009559, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001102/0.001102, allocations: 168.7 kB / 24.91 MB, free: 9.191 MB / 18.57 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 0.9835/0.9835, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 1.643e-06/1.643e-06, allocations: 0 / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.199e-05, allocations: 2.312 kB / 273.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002775/0.002807, allocations: 1.579 MB / 275.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006191/0.003426, allocations: 438.8 kB / 275.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.992e-05/0.003486, allocations: 7.938 kB / 275.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.003513, allocations: 7.938 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.869e-05/0.003582, allocations: 3.938 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.00378, allocations: 31.84 kB / 275.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.877e-05/0.003859, allocations: 31.86 kB / 275.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.327e-05/0.003932, allocations: 11.98 kB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.677e-05/0.003999, allocations: 15.98 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.488e-05/0.004034, allocations: 19.91 kB / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.004052, allocations: 4 kB / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.004061, allocations: 4 kB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.004076, allocations: 4 kB / 275.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.004097, allocations: 15.98 kB / 275.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.008e-05/0.004177, allocations: 27.84 kB / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.004179, allocations: 0 / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.00418, allocations: 0 / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.004184, allocations: 0 / 275.7 MB, free: 15.05 MB / 266.7 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.0002449/0.004429, allocations: 240.9 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.004463, allocations: 8.031 kB / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.00449, allocations: 16.88 kB / 276 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.00461, allocations: 121.7 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.004617, allocations: 8.375 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-06/0.004624, allocations: 384 / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.004779, allocations: 100.6 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.004787, allocations: 4.172 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.004794, allocations: 4.375 kB / 276.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.004798, allocations: 3.938 kB / 276.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.024e-05/0.004819, allocations: 11.92 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.44e-05/0.004873, allocations: 57.05 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.859e-05/0.004922, allocations: 34.56 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.004939, allocations: 12.86 kB / 276.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.00495, allocations: 0 / 276.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.004969, allocations: 30.56 kB / 276.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.31e-07/0.00497, allocations: 0 / 276.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 9.13e-05/0.005061, allocations: 53.62 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.005094, allocations: 55.39 kB / 276.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.17e-05/0.005146, allocations: 114.6 kB / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.005154, allocations: 25.7 kB / 276.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.172e-05/0.005176, allocations: 88.12 kB / 276.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.182e-06/0.005177, allocations: 4 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/0.005193, allocations: 13.7 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.093e-05/0.005264, allocations: 318.8 kB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.086e-06/0.005267, allocations: 0 / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.83e-06/0.005272, allocations: 4 kB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.029e-05/0.005293, allocations: 75.28 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.775e-05/0.00531, allocations: 79.28 kB / 277.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.025e-05/0.005351, allocations: 33.64 kB / 277.2 MB, free: 13.4 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.005384, allocations: 83.27 kB / 277.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.005403, allocations: 79.28 kB / 277.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-05/0.005444, allocations: 154.5 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.732e-05/0.005461, allocations: 79.28 kB / 277.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.634e-05/0.005498, allocations: 150.6 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.005543, allocations: 87.16 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.00556, allocations: 75.28 kB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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 6.622e-05/0.005626, allocations: 185.1 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.005672, allocations: 45.62 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.005693, allocations: 7.984 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.005695, allocations: 0 / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.005696, allocations: 4 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005699, allocations: 0 / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.52e-05/0.005744, allocations: 81.72 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.005747, allocations: 0 / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.785e-05/0.005805, allocations: 15.98 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.005807, allocations: 0 / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-06/0.005811, allocations: 0 / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.005812, allocations: 0 / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.005814, allocations: 4 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.728e-05/0.005851, allocations: 57.3 kB / 278.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.834e-06/0.005859, allocations: 11.92 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-06/0.005866, allocations: 0 / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.277e-05/0.005879, allocations: 8 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-06/0.005881, allocations: 0 / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.005885, allocations: 3.938 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.216e-05/0.005897, allocations: 12.84 kB / 278.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005897, allocations: 0 / 278.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001089/0.006006, allocations: 8 kB / 278.3 MB, free: 12.21 MB / 266.7 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 7.589e-05/0.006082, allocations: 76.42 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.489e-05/0.006117, allocations: 4 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.006119, allocations: 0 / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-07/0.00612, allocations: 0 / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.006259, allocations: 29.56 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001982/0.006457, allocations: 119.4 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.879e-05/0.006486, allocations: 59.34 kB / 278.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.195e-06/0.006494, allocations: 0 / 278.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.006531, allocations: 51.38 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.006531, allocations: 0 / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of Templates: time 0.001803/0.008334, allocations: 445.3 kB / 279.1 MB, free: 11.39 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.580989634152502]