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.001902/0.001902, allocations: 89.14 kB / 20.68 MB, free: 1.023 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.002398/0.002398, allocations: 159.2 kB / 23.95 MB, free: 4.152 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.485/1.485, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.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 1.723e-06/1.723e-06, allocations: 0 / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.812e-05, allocations: 2.281 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002982/0.003011, allocations: 1.496 MB / 326.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009825/0.003993, allocations: 419.4 kB / 326.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.207e-05/0.004065, allocations: 5.062 kB / 326.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.004097, allocations: 9.344 kB / 326.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.46e-05/0.004161, allocations: 1.438 kB / 326.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.004425, allocations: 31.5 kB / 327 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.004527, allocations: 38.88 kB / 327 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.004628, allocations: 9.281 kB / 327 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.584e-05/0.004714, allocations: 23.89 kB / 327 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.495e-05/0.004769, allocations: 11.95 kB / 327.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.004789, allocations: 2.094 kB / 327.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.004799, allocations: 3.281 kB / 327.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.004822, allocations: 7.031 kB / 327.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.004859, allocations: 14.11 kB / 327.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.004963, allocations: 40.89 kB / 327.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.004965, allocations: 3.938 kB / 327.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004966, allocations: 3.938 kB / 327.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.00497, allocations: 0 / 327.1 MB, free: 15.07 MB / 302.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.0005239/0.005494, allocations: 270.6 kB / 327.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.005537, allocations: 13.86 kB / 327.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.005576, allocations: 7.109 kB / 327.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.005792, allocations: 120.6 kB / 327.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.005803, allocations: 5.469 kB / 327.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.005814, allocations: 2.562 kB / 327.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004773/0.006292, allocations: 139 kB / 327.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.006303, allocations: 4.125 kB / 327.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.006313, allocations: 384 / 327.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.006319, allocations: 3.938 kB / 327.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.006498, allocations: 38 kB / 327.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.006643, allocations: 105.8 kB / 327.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.00696, allocations: 77.5 kB / 327.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.007077, allocations: 30.78 kB / 327.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.007101, allocations: 1.094 kB / 327.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/0.007158, allocations: 40.44 kB / 328 MB, free: 14.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.007159, allocations: 3.938 kB / 328 MB, free: 14.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000388/0.007547, allocations: 94.14 kB / 328.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.007611, allocations: 61.12 kB / 328.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.007718, allocations: 110.2 kB / 328.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.007855, allocations: 26.77 kB / 328.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/0.007904, allocations: 82.05 kB / 328.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.007906, allocations: 0 / 328.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.007931, allocations: 20.64 kB / 328.4 MB, free: 14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002382/0.008169, allocations: 316.7 kB / 328.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-06/0.008173, allocations: 0 / 328.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-06/0.008177, allocations: 4.969 kB / 328.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.03e-05/0.008217, allocations: 80.02 kB / 328.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.254e-05/0.00826, allocations: 76.31 kB / 328.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.064e-05/0.00832, allocations: 33.81 kB / 328.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/0.008373, allocations: 80.98 kB / 328.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-05/0.008453, allocations: 76.19 kB / 329 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.768e-05/0.00854, allocations: 156.3 kB / 329.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.326e-05/0.008584, allocations: 84.89 kB / 329.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.01e-05/0.008664, allocations: 168.5 kB / 329.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.008831, allocations: 77.61 kB / 329.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.008865, allocations: 76.78 kB / 329.6 MB, free: 12.79 MB / 302.1 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 0.0001245/0.00899, allocations: 184.7 kB / 329.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/0.009203, allocations: 81.09 kB / 329.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.958e-05/0.009243, allocations: 8.656 kB / 329.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.009245, allocations: 2.297 kB / 329.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.009251, allocations: 3.938 kB / 329.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.009254, allocations: 5.344 kB / 329.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.009355, allocations: 107.7 kB / 330 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.009359, allocations: 0.7031 kB / 330 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.009463, allocations: 11.88 kB / 330 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.009467, allocations: 0.6562 kB / 330 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.009473, allocations: 1.094 kB / 330 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.009476, allocations: 0 / 330 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.009477, allocations: 1.797 kB / 330 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.009733, allocations: 112.4 kB / 330.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-06/0.009742, allocations: 1.828 kB / 330.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.00976, allocations: 5.734 kB / 330.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.058e-05/0.00981, allocations: 6.344 kB / 330.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-06/0.009813, allocations: 0 / 330.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.00982, allocations: 1.844 kB / 330.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.709e-05/0.009877, allocations: 87.64 kB / 330.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.009877, allocations: 0 / 330.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002173/0.01009, allocations: 6.875 kB / 330.2 MB, free: 12.24 MB / 302.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.0001161/0.01021, allocations: 98.28 kB / 330.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.01034, allocations: 23.66 kB / 330.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01035, allocations: 0 / 330.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4e-07/0.01035, allocations: 0 / 330.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.01066, allocations: 32.84 kB / 330.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.011, allocations: 120.2 kB / 330.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.969e-05/0.01107, allocations: 63.94 kB / 330.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.094e-05/0.01108, allocations: 9.375 kB / 330.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.01111, allocations: 9.75 kB / 330.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.01111, allocations: 0 / 330.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of Templates: time 0.003004/0.01411, allocations: 407.4 kB / 330.9 MB, free: 11.86 MB / 302.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/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_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: 4.338221285492182]