Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.0009133/0.0009133, allocations: 69.12 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002256, allocations: 457.8 kB / 10.45 MB, free: 240 kB / 10.45 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.0008948/0.0008948, allocations: 153.2 kB / 11.35 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001239/0.002134, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 1.006/1.006, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1195/1.125, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.906e-06/2.906e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.875e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002858/0.002886, allocations: 1.571 MB / 246.3 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001424/0.003029, allocations: 39.84 kB / 246.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.429e-05/0.003093, allocations: 0 / 246.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.003122, allocations: 7.938 kB / 246.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.648e-05/0.003159, allocations: 15.86 kB / 246.3 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.00335, allocations: 23.97 kB / 246.4 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.003465, allocations: 35.91 kB / 246.4 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.00357, allocations: 4 kB / 246.4 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.003685, allocations: 31.91 kB / 246.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.702e-05/0.003742, allocations: 11.98 kB / 246.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.003775, allocations: 4 kB / 246.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.473e-05/0.003789, allocations: 4 kB / 246.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.003821, allocations: 7.938 kB / 246.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.085e-05/0.003852, allocations: 12 kB / 246.5 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.003979, allocations: 27.84 kB / 246.5 MB, free: 12.41 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-05/0.003994, allocations: 4 kB / 246.5 MB, free: 12.41 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.003995, allocations: 0 / 246.5 MB, free: 12.41 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.004008, allocations: 0 / 246.5 MB, free: 12.41 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.0005073/0.004516, allocations: 260.5 kB / 246.8 MB, free: 12.12 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.004563, allocations: 8.031 kB / 246.8 MB, free: 12.12 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.004607, allocations: 4.938 kB / 246.8 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.004814, allocations: 121.7 kB / 246.9 MB, free: 11.97 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.00484, allocations: 4.375 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.004857, allocations: 8.375 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.005106, allocations: 104.5 kB / 247 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.005118, allocations: 4.125 kB / 247 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.005127, allocations: 384 / 247 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.005135, allocations: 8.359 kB / 247 MB, free: 11.83 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.77e-05/0.005173, allocations: 11.92 kB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.736e-05/0.00526, allocations: 56.98 kB / 247.1 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.723e-05/0.005337, allocations: 34.56 kB / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.005366, allocations: 16.86 kB / 247.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.005375, allocations: 0 / 247.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.005405, allocations: 38.56 kB / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.005406, allocations: 0 / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001425/0.005549, allocations: 49.61 kB / 247.2 MB, free: 11.58 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.00561, allocations: 59.41 kB / 247.3 MB, free: 11.51 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.005686, allocations: 118.7 kB / 247.4 MB, free: 11.38 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.0057, allocations: 25.7 kB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.005731, allocations: 84.12 kB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.005743, allocations: 3.953 kB / 247.5 MB, free: 11.26 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.005771, allocations: 13.72 kB / 247.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.005879, allocations: 322.8 kB / 247.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.482e-06/0.005885, allocations: 4 kB / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/0.005892, allocations: 0 / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.514e-05/0.005917, allocations: 12.8 kB / 247.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.005919, allocations: 0 / 247.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.792e-05/0.005967, allocations: 37.69 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.005982, allocations: 4 kB / 247.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.005988, allocations: 0 / 247.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.006001, allocations: 0 / 247.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.147e-05/0.006053, allocations: 8.094 kB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.00606, allocations: 0 / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.16e-05/0.006071, allocations: 0 / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.006076, allocations: 8 kB / 247.9 MB, free: 10.84 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: 2 ($CLKPRE.ramp.counter,ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.429e-05/0.00615, allocations: 113.8 kB / 248 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.006201, allocations: 45.62 kB / 248.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.006229, allocations: 8 kB / 248.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006231, allocations: 0 / 248.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.006234, allocations: 3.984 kB / 248.1 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.006238, allocations: 3.938 kB / 248.1 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.179e-05/0.0063, allocations: 69.84 kB / 248.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.006301, allocations: 0 / 248.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.702e-05/0.006368, allocations: 15.98 kB / 248.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.006377, allocations: 0 / 248.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.006381, allocations: 3.984 kB / 248.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.006389, allocations: 4 kB / 248.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.00639, allocations: 0 / 248.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006391, allocations: 0 / 248.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.19e-05/0.006443, allocations: 57.98 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.006461, allocations: 4 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.608e-05/0.006487, allocations: 11.97 kB / 248.3 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-06/0.006491, allocations: 4 kB / 248.3 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.006494, allocations: 0 / 248.3 MB, free: 10.45 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.859e-05/0.006512, allocations: 12.86 kB / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006512, allocations: 0 / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001422/0.006655, allocations: 4 kB / 248.3 MB, free: 10.43 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: 1 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * 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 9.636e-05/0.006751, allocations: 80.41 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.123e-05/0.006842, allocations: 16.84 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.006849, allocations: 4 kB / 248.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.12e-07/0.00685, allocations: 0 / 248.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.007109, allocations: 95.7 kB / 248.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005099/0.007619, allocations: 134.9 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.91e-05/0.007668, allocations: 55.36 kB / 248.6 MB, free: 9.977 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.198e-05/0.00769, allocations: 4.234 kB / 248.7 MB, free: 9.973 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.819e-05/0.007758, allocations: 51.38 kB / 248.7 MB, free: 9.922 MB / 250.7 MB Notification: Performance of SimCode: time 6.82e-07/0.007759, allocations: 0 / 248.7 MB, free: 9.922 MB / 250.7 MB Notification: Performance of Templates: time 0.002752/0.01051, allocations: 0.6128 MB / 249.3 MB, free: 9.32 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.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.594647149555385]