Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.001343/0.001343, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001575/0.001575, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.464/1.464, allocations: 230.5 MB / 258.1 MB, free: 7.996 MB / 206.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.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 59.91 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2662, allocations: 53.42 MB / 432.5 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.00294/0.2692, allocations: 1.481 MB / 433.9 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002125/0.2694, allocations: 35.91 kB / 434 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.496e-05/0.2695, allocations: 3.938 kB / 434 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.2695, allocations: 0 / 434 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.971e-05/0.2695, allocations: 3.938 kB / 434 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.2698, allocations: 31.89 kB / 434 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.2699, allocations: 35.92 kB / 434 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.27, allocations: 11.94 kB / 434.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.673e-05/0.2701, allocations: 15.98 kB / 434.1 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.2701, allocations: 19.92 kB / 434.1 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.2701, allocations: 0 / 434.1 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.62e-05/0.2702, allocations: 4 kB / 434.1 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/0.2702, allocations: 23.91 kB / 434.1 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.2702, allocations: 11.94 kB / 434.1 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.2703, allocations: 37.38 kB / 434.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2703, allocations: 0 / 434.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2703, allocations: 0 / 434.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.2703, allocations: 0 / 434.2 MB, free: 5.043 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.0005779/0.2709, allocations: 286 kB / 434.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.271, allocations: 8.031 kB / 434.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.271, allocations: 8.891 kB / 434.5 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.2712, allocations: 122.5 kB / 434.6 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.2713, allocations: 4.375 kB / 434.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.2713, allocations: 384 / 434.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006098/0.2719, allocations: 159.7 kB / 434.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.2719, allocations: 8.172 kB / 434.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.2719, allocations: 7.938 kB / 434.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.2719, allocations: 4 kB / 434.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.2722, allocations: 47.88 kB / 434.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.2723, allocations: 136.7 kB / 434.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.2726, allocations: 82.44 kB / 435 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.2728, allocations: 44.91 kB / 435.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.2728, allocations: 0 / 435.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.2728, allocations: 30.56 kB / 435.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.2728, allocations: 3.938 kB / 435.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004823/0.2733, allocations: 121.5 kB / 435.2 MB, free: 3.855 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.2735, allocations: 55.41 kB / 435.3 MB, free: 3.789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.146e-05/0.2735, allocations: 109.8 kB / 435.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.2736, allocations: 25.7 kB / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/0.2736, allocations: 84.14 kB / 435.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.2737, allocations: 7.953 kB / 435.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.2737, allocations: 13.72 kB / 435.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2738, allocations: 322.8 kB / 435.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.206e-05/0.2739, allocations: 0 / 435.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.2739, allocations: 31.44 kB / 435.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.28e-05/0.2739, allocations: 39.38 kB / 435.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2739, allocations: 0 / 435.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.655e-05/0.274, allocations: 57.62 kB / 435.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.2741, allocations: 8 kB / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2741, allocations: 12 kB / 436 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2741, allocations: 0 / 436 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.2741, allocations: 11.98 kB / 436 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.2742, allocations: 4 kB / 436 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.862e-05/0.2742, allocations: 0 / 436 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.2742, allocations: 0 / 436 MB, free: 3.012 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: 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 (5): * Single equations (assignments): 5 * 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.921e-05/0.2743, allocations: 113.8 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/0.2746, allocations: 89.53 kB / 436.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.542e-05/0.2746, allocations: 19.92 kB / 436.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2746, allocations: 4 kB / 436.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2746, allocations: 0 / 436.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.2746, allocations: 0 / 436.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.2747, allocations: 128.7 kB / 436.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2747, allocations: 0 / 436.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.327e-05/0.2748, allocations: 15.98 kB / 436.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2748, allocations: 3.938 kB / 436.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.2748, allocations: 3.938 kB / 436.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2748, allocations: 4.109 kB / 436.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2748, allocations: 4 kB / 436.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.2752, allocations: 121.2 kB / 436.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-06/0.2752, allocations: 4 kB / 436.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.2752, allocations: 11.86 kB / 436.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.426e-05/0.2752, allocations: 7.984 kB / 436.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-06/0.2753, allocations: 0 / 436.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.2753, allocations: 7.938 kB / 436.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.1e-05/0.2753, allocations: 83.59 kB / 436.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2753, allocations: 0 / 436.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001841/0.2755, allocations: 4 kB / 436.6 MB, free: 2.312 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: 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 0.0001144/0.2756, allocations: 107.2 kB / 436.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.2758, allocations: 39.91 kB / 436.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2758, allocations: 0 / 436.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.2758, allocations: 0 / 436.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.2762, allocations: 38.75 kB / 436.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.2766, allocations: 163.5 kB / 436.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.2769, allocations: 0.6846 MB / 437.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.277, allocations: 7.438 kB / 437.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.277, allocations: 4 kB / 437.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of Templates: time 0.002224/0.2792, allocations: 0.6923 MB / 438.3 MB, free: 0.5273 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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: 6.822882464854047]