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.000824/0.000824, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001208/0.002032, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007191/0.0007191, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009658/0.001685, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9774/0.9774, allocations: 177.5 MB / 190 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0816/1.059, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.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 1.643e-06/1.643e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.093e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002943/0.002964, allocations: 1.587 MB / 246.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007154/0.00368, allocations: 455.5 kB / 247.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.003745, allocations: 3.938 kB / 247.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.627e-05/0.003771, allocations: 0 / 247.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.941e-05/0.003821, allocations: 15.86 kB / 247.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.00399, allocations: 23.91 kB / 247.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.972e-05/0.00408, allocations: 35.86 kB / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.988e-05/0.00416, allocations: 8 kB / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.004261, allocations: 27.92 kB / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.295e-05/0.004304, allocations: 7.984 kB / 247.4 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.004327, allocations: 0 / 247.4 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.776e-06/0.004336, allocations: 8 kB / 247.4 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.004364, allocations: 11.92 kB / 247.4 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.004393, allocations: 12 kB / 247.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.932e-05/0.004493, allocations: 27.86 kB / 247.4 MB, free: 11.36 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.004502, allocations: 0 / 247.4 MB, free: 11.36 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.004504, allocations: 0 / 247.4 MB, free: 11.36 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.004515, allocations: 0 / 247.4 MB, free: 11.36 MB / 250.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.0004636/0.004979, allocations: 252.6 kB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.005022, allocations: 8.625 kB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.005065, allocations: 8.922 kB / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.005315, allocations: 129.6 kB / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.005327, allocations: 384 / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.005342, allocations: 8.375 kB / 247.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.005552, allocations: 104.5 kB / 247.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.005559, allocations: 192 / 247.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.005565, allocations: 384 / 247.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.005571, allocations: 3.938 kB / 247.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.483e-05/0.005595, allocations: 11.94 kB / 247.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.989e-05/0.005655, allocations: 57.05 kB / 248 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.528e-05/0.005711, allocations: 34.55 kB / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.005729, allocations: 12.86 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.005745, allocations: 7.984 kB / 248 MB, free: 10.65 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.005763, allocations: 30.56 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.71e-07/0.005764, allocations: 0 / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001006/0.005865, allocations: 45.62 kB / 248.1 MB, free: 10.56 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.005897, allocations: 55.41 kB / 248.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.199e-05/0.005949, allocations: 114.7 kB / 248.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.005957, allocations: 29.7 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.004e-05/0.005977, allocations: 84.12 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.005979, allocations: 0 / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.538e-05/0.005994, allocations: 13.72 kB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.101e-05/0.006075, allocations: 318.7 kB / 248.7 MB, free: 9.906 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.136e-06/0.006078, allocations: 0 / 248.7 MB, free: 9.906 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.589e-06/0.006083, allocations: 4 kB / 248.7 MB, free: 9.902 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.048e-05/0.006103, allocations: 79.28 kB / 248.8 MB, free: 9.824 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.827e-05/0.006122, allocations: 79.27 kB / 248.9 MB, free: 9.746 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.271e-05/0.006154, allocations: 33.64 kB / 248.9 MB, free: 9.707 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.006181, allocations: 79.28 kB / 249 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.006198, allocations: 83.28 kB / 249.1 MB, free: 9.547 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.139e-05/0.006239, allocations: 154.6 kB / 249.2 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.727e-05/0.006257, allocations: 79.22 kB / 249.3 MB, free: 9.316 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.118e-05/0.006288, allocations: 154.5 kB / 249.4 MB, free: 9.164 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.325e-05/0.006331, allocations: 91.14 kB / 249.5 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.006348, allocations: 79.28 kB / 249.6 MB, free: 8.996 MB / 250.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 5.916e-05/0.006407, allocations: 181.1 kB / 249.8 MB, free: 8.809 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.006446, allocations: 41.69 kB / 249.8 MB, free: 8.762 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.006468, allocations: 8 kB / 249.8 MB, free: 8.754 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.006469, allocations: 3.938 kB / 249.8 MB, free: 8.75 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.00647, allocations: 4 kB / 249.8 MB, free: 8.746 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.006473, allocations: 0 / 249.8 MB, free: 8.746 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.69e-05/0.006519, allocations: 69.83 kB / 249.9 MB, free: 8.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.006522, allocations: 0 / 249.9 MB, free: 8.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.07e-05/0.006593, allocations: 12 kB / 249.9 MB, free: 8.648 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-06/0.006599, allocations: 3.953 kB / 249.9 MB, free: 8.645 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.006601, allocations: 0 / 249.9 MB, free: 8.645 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.006606, allocations: 3.984 kB / 249.9 MB, free: 8.641 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.006607, allocations: 0 / 249.9 MB, free: 8.641 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.006609, allocations: 4 kB / 249.9 MB, free: 8.637 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.996e-05/0.006639, allocations: 53.08 kB / 250 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-06/0.006646, allocations: 4 kB / 250 MB, free: 8.562 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.283e-05/0.006659, allocations: 4 kB / 250 MB, free: 8.559 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-06/0.006662, allocations: 7.984 kB / 250 MB, free: 8.551 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.006666, allocations: 0 / 250 MB, free: 8.551 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.228e-05/0.006679, allocations: 12.84 kB / 250 MB, free: 8.535 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006679, allocations: 3.938 kB / 250 MB, free: 8.531 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001013/0.00678, allocations: 4 kB / 250 MB, free: 8.527 MB / 250.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 8.173e-05/0.006862, allocations: 76.42 kB / 250.1 MB, free: 8.441 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.909e-05/0.006901, allocations: 11.92 kB / 250.1 MB, free: 8.43 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.006903, allocations: 4 kB / 250.1 MB, free: 8.426 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.006904, allocations: 0 / 250.1 MB, free: 8.426 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.007062, allocations: 51.22 kB / 250.2 MB, free: 8.367 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.007455, allocations: 127.3 kB / 250.3 MB, free: 8.219 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.608e-05/0.007492, allocations: 59.34 kB / 250.4 MB, free: 8.141 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.28e-05/0.007504, allocations: 0 / 250.4 MB, free: 8.141 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.007561, allocations: 51.38 kB / 250.4 MB, free: 8.09 MB / 250.7 MB Notification: Performance of SimCode: time 6.92e-07/0.007562, allocations: 0 / 250.4 MB, free: 8.09 MB / 250.7 MB Notification: Performance of Templates: time 0.001805/0.009367, allocations: 452.7 kB / 250.8 MB, free: 7.648 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4696416202932596]