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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001442/0.001442, allocations: 109.6 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001737/0.001737, allocations: 214.4 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 230.2 MB / 256.8 MB, free: 8.609 MB / 206.1 MB [Timeout remaining time 88] 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 0.001842/0.001842, allocations: 59.89 kB / 376.9 MB, free: 3.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2616, allocations: 53.32 MB / 430.2 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003962/0.2656, allocations: 1.491 MB / 431.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2667, allocations: 450.9 kB / 432.1 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.711e-05/0.2668, allocations: 0 / 432.1 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.021e-05/0.2668, allocations: 7.922 kB / 432.1 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.612e-05/0.2669, allocations: 7.938 kB / 432.2 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.2672, allocations: 23.97 kB / 432.2 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.2673, allocations: 39.8 kB / 432.2 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.2674, allocations: 11.92 kB / 432.2 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.41e-05/0.2675, allocations: 8 kB / 432.2 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.589e-05/0.2675, allocations: 23.86 kB / 432.3 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.2676, allocations: 4 kB / 432.3 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.505e-05/0.2676, allocations: 4 kB / 432.3 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.421e-05/0.2676, allocations: 7.984 kB / 432.3 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.2677, allocations: 23.86 kB / 432.3 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.2678, allocations: 29.44 kB / 432.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2678, allocations: 0 / 432.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2678, allocations: 0 / 432.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.2678, allocations: 0 / 432.3 MB, free: 5.516 MB / 334.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.0006439/0.2685, allocations: 359 kB / 432.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.2685, allocations: 8.031 kB / 432.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.2685, allocations: 8.891 kB / 432.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.2689, allocations: 180.3 kB / 432.9 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.2689, allocations: 4.375 kB / 432.9 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.2689, allocations: 384 / 432.9 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006878/0.2696, allocations: 147.6 kB / 433 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2696, allocations: 0 / 433 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.2696, allocations: 4 kB / 433 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2696, allocations: 0 / 433 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.2699, allocations: 39.89 kB / 433.1 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.2701, allocations: 161.7 kB / 433.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/0.2705, allocations: 78.52 kB / 433.3 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.2707, allocations: 24.92 kB / 433.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.2707, allocations: 7.984 kB / 433.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.2707, allocations: 42.5 kB / 433.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.2707, allocations: 0 / 433.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005121/0.2712, allocations: 93.58 kB / 433.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.2713, allocations: 55.41 kB / 433.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2714, allocations: 105.8 kB / 433.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.2714, allocations: 25.7 kB / 433.6 MB, free: 4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.2715, allocations: 92.14 kB / 433.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.2715, allocations: 0 / 433.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.2716, allocations: 17.64 kB / 433.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.2717, allocations: 318.8 kB / 434.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.2717, allocations: 0 / 434.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.627e-05/0.2718, allocations: 31.42 kB / 434.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.431e-05/0.2719, allocations: 35.38 kB / 434.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2719, allocations: 0 / 434.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001439/0.272, allocations: 65.52 kB / 434.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.272, allocations: 11.94 kB / 434.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.272, allocations: 3.938 kB / 434.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.272, allocations: 4.406 kB / 434.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.931e-05/0.2721, allocations: 8 kB / 434.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2721, allocations: 0 / 434.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.582e-05/0.2722, allocations: 0 / 434.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.2722, allocations: 4 kB / 434.2 MB, free: 3.371 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 0.0001038/0.2723, allocations: 113.8 kB / 434.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002692/0.2725, allocations: 85.47 kB / 434.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.671e-05/0.2726, allocations: 15.89 kB / 434.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2726, allocations: 0 / 434.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.2726, allocations: 0 / 434.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2726, allocations: 0 / 434.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.2728, allocations: 161.6 kB / 434.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2728, allocations: 0 / 434.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.971e-05/0.2729, allocations: 8 kB / 434.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.2729, allocations: 3.938 kB / 434.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.2729, allocations: 4 kB / 434.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.2729, allocations: 3.984 kB / 434.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2729, allocations: 0 / 434.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.2732, allocations: 101.1 kB / 434.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.2733, allocations: 92.94 kB / 434.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.2733, allocations: 0 / 434.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.2734, allocations: 11.98 kB / 434.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-06/0.2734, allocations: 0 / 434.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.2734, allocations: 0 / 434.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.549e-05/0.2734, allocations: 91.58 kB / 434.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2734, allocations: 0 / 434.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003629/0.2738, allocations: 8 kB / 434.9 MB, free: 2.57 MB / 334.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.0002372/0.274, allocations: 103.2 kB / 435 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.2743, allocations: 35.91 kB / 435 MB, free: 2.426 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2743, allocations: 256 / 435 MB, free: 2.426 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.72e-07/0.2743, allocations: 4 kB / 435 MB, free: 2.422 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.2747, allocations: 28.02 kB / 435.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/0.2752, allocations: 147.2 kB / 435.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005902/0.2758, allocations: 0.6807 MB / 435.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.2758, allocations: 7.438 kB / 435.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2758, allocations: 0 / 435.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of Templates: time 0.002916/0.2787, allocations: 0.6088 MB / 436.5 MB, free: 0.8945 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/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