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.001506/0.001506, allocations: 87.67 kB / 21.19 MB, free: 3.367 MB / 18.57 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.00135/0.00135, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 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.126/1.126, allocations: 177 MB / 204.8 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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 2.775e-06/2.775e-06, allocations: 0 / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.711e-05, allocations: 2.312 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002033/0.00206, allocations: 1.54 MB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006172/0.002677, allocations: 442.8 kB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.728e-05/0.002734, allocations: 0 / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.827e-05/0.002762, allocations: 7.938 kB / 274.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.017e-05/0.002823, allocations: 0 / 274.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.00303, allocations: 31.84 kB / 274.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.661e-05/0.003117, allocations: 39.86 kB / 275 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.623e-05/0.003213, allocations: 11.97 kB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.003279, allocations: 23.92 kB / 275 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.39e-05/0.003313, allocations: 7.984 kB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.003335, allocations: 4 kB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.644e-06/0.003342, allocations: 0 / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.003364, allocations: 11.94 kB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.003391, allocations: 12 kB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.003508, allocations: 31.83 kB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.00351, allocations: 0 / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.003511, allocations: 0 / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.003515, allocations: 3.938 kB / 275.1 MB, free: 15.3 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.0003273/0.003842, allocations: 368.6 kB / 275.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.003878, allocations: 15.98 kB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.003912, allocations: 12.89 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.004036, allocations: 120.6 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-06/0.004044, allocations: 4.375 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.004053, allocations: 8.375 kB / 275.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.004265, allocations: 110.2 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-06/0.004271, allocations: 192 / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.004279, allocations: 384 / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.004287, allocations: 3.938 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.825e-05/0.004315, allocations: 8 kB / 275.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001033/0.004419, allocations: 116.6 kB / 275.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.861e-05/0.004487, allocations: 47.05 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.004519, allocations: 15.72 kB / 275.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.004533, allocations: 7.938 kB / 275.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.004552, allocations: 37.42 kB / 275.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 5.41e-07/0.004553, allocations: 0 / 275.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001234/0.004676, allocations: 53.69 kB / 276 MB, free: 14.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.004714, allocations: 55.34 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.018e-05/0.004784, allocations: 169.9 kB / 276.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.824e-06/0.004792, allocations: 25.7 kB / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.00483, allocations: 130.9 kB / 276.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.004833, allocations: 8 kB / 276.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.62e-05/0.004849, allocations: 15.38 kB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.004955, allocations: 492.1 kB / 276.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-06/0.004959, allocations: 3.938 kB / 276.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.956e-06/0.004962, allocations: 0 / 276.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.723e-05/0.004989, allocations: 123.2 kB / 277 MB, free: 13.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.611e-05/0.005015, allocations: 119.2 kB / 277.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.766e-05/0.005053, allocations: 45.88 kB / 277.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/0.005095, allocations: 123.2 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.371e-05/0.005129, allocations: 123.1 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.31e-05/0.005192, allocations: 242.4 kB / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.843e-05/0.005221, allocations: 127.2 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.965e-05/0.00528, allocations: 246.6 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.565e-05/0.005336, allocations: 123.1 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.005362, allocations: 131.1 kB / 278.2 MB, free: 11.91 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 8.033e-05/0.005443, allocations: 279.8 kB / 278.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.005492, allocations: 41.7 kB / 278.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.005515, allocations: 11.98 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005517, allocations: 0 / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.005521, allocations: 3.938 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.005523, allocations: 0 / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.643e-05/0.00558, allocations: 128.6 kB / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.005582, allocations: 0 / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.534e-05/0.005647, allocations: 8 kB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.005649, allocations: 0 / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.005654, allocations: 0 / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.005658, allocations: 4 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.00566, allocations: 3.984 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.981e-05/0.00573, allocations: 96.27 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-06/0.005737, allocations: 3.984 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.096e-06/0.005745, allocations: 0 / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.347e-05/0.005758, allocations: 4 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-06/0.005761, allocations: 4 kB / 278.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.005766, allocations: 0 / 278.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.793e-05/0.005804, allocations: 135.1 kB / 278.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005804, allocations: 0 / 278.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001265/0.00593, allocations: 4 kB / 278.9 MB, free: 11.12 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 5.736e-05/0.005987, allocations: 95.25 kB / 279 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.144e-05/0.006029, allocations: 7.938 kB / 279 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.006031, allocations: 0 / 279 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.006031, allocations: 4 kB / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.006215, allocations: 21.11 kB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002113/0.006427, allocations: 121.1 kB / 279.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.928e-05/0.006456, allocations: 59.34 kB / 279.2 MB, free: 10.76 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.023e-06/0.006463, allocations: 0 / 279.2 MB, free: 10.76 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.006486, allocations: 12.5 kB / 279.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of SimCode: time 5.82e-07/0.006486, allocations: 0 / 279.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of Templates: time 0.001766/0.008252, allocations: 430.9 kB / 279.7 MB, free: 10.33 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.822748498991132]