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.001247/0.001247, allocations: 112.5 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001325/0.001325, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.409/1.409, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001467/0.001467, allocations: 43.92 kB / 379 MB, free: 2.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2558, allocations: 53.36 MB / 432.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002766/0.2586, allocations: 1.499 MB / 433.9 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001849/0.2588, allocations: 27.91 kB / 433.9 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.118e-05/0.2588, allocations: 4 kB / 433.9 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.2588, allocations: 3.938 kB / 433.9 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.083e-05/0.2589, allocations: 3.938 kB / 433.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.2591, allocations: 31.97 kB / 434 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.992e-05/0.2592, allocations: 31.92 kB / 434 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.897e-05/0.2593, allocations: 7.984 kB / 434 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.98e-05/0.2594, allocations: 23.92 kB / 434 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.546e-05/0.2594, allocations: 15.92 kB / 434 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.2594, allocations: 7.938 kB / 434 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.2594, allocations: 4 kB / 434.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.92e-05/0.2595, allocations: 7.938 kB / 434.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.2595, allocations: 19.91 kB / 434.1 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.2596, allocations: 46.3 kB / 434.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2596, allocations: 4 kB / 434.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2596, allocations: 0 / 434.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.2596, allocations: 0 / 434.1 MB, free: 5.195 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.0005071/0.2601, allocations: 274 kB / 434.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2602, allocations: 12.03 kB / 434.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.2602, allocations: 4.891 kB / 434.4 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.2604, allocations: 122.5 kB / 434.5 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.2604, allocations: 4.359 kB / 434.5 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.2604, allocations: 8.375 kB / 434.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.261, allocations: 163.7 kB / 434.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.261, allocations: 192 / 434.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.261, allocations: 3.938 kB / 434.7 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.261, allocations: 3.984 kB / 434.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.2613, allocations: 47.94 kB / 434.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.2614, allocations: 136.7 kB / 434.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.2617, allocations: 86.45 kB / 435 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.2618, allocations: 32.91 kB / 435 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.2618, allocations: 0 / 435 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.2619, allocations: 42.55 kB / 435 MB, free: 4.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.2619, allocations: 0 / 435 MB, free: 4.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004621/0.2623, allocations: 113.5 kB / 435.2 MB, free: 4.027 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.2624, allocations: 59.41 kB / 435.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.016e-05/0.2625, allocations: 109.8 kB / 435.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.2625, allocations: 29.64 kB / 435.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.2626, allocations: 84.14 kB / 435.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.2626, allocations: 7.953 kB / 435.4 MB, free: 3.711 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.2626, allocations: 21.7 kB / 435.5 MB, free: 3.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.2627, allocations: 310.8 kB / 435.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.2628, allocations: 8 kB / 435.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-05/0.2628, allocations: 35.42 kB / 435.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.242e-05/0.2629, allocations: 39.38 kB / 435.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2629, allocations: 0 / 435.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.802e-05/0.2629, allocations: 61.62 kB / 435.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.263, allocations: 4 kB / 435.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.263, allocations: 3.938 kB / 435.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.263, allocations: 4 kB / 435.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.645e-05/0.263, allocations: 8 kB / 435.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.263, allocations: 7.875 kB / 435.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.2631, allocations: 0 / 435.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.2631, allocations: 4 kB / 435.9 MB, free: 3.168 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 9.492e-05/0.2632, allocations: 118 kB / 436.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.2634, allocations: 89.58 kB / 436.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.2635, allocations: 11.94 kB / 436.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2635, allocations: 0 / 436.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2635, allocations: 0 / 436.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2635, allocations: 4 kB / 436.2 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.2636, allocations: 128.7 kB / 436.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2636, allocations: 0 / 436.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.186e-05/0.2637, allocations: 15.97 kB / 436.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2637, allocations: 3.938 kB / 436.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.2637, allocations: 15.88 kB / 436.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2637, allocations: 4 kB / 436.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2637, allocations: 0 / 436.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.264, allocations: 113.2 kB / 436.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.264, allocations: 4.031 kB / 436.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.264, allocations: 7.938 kB / 436.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.499e-05/0.2641, allocations: 11.98 kB / 436.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-06/0.2641, allocations: 0 / 436.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.2641, allocations: 0 / 436.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.919e-05/0.2641, allocations: 91.27 kB / 436.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2641, allocations: 0 / 436.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001819/0.2643, allocations: 8 kB / 436.6 MB, free: 2.469 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.0001095/0.2644, allocations: 91.25 kB / 436.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.2646, allocations: 43.91 kB / 436.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2646, allocations: 0 / 436.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.2646, allocations: 0 / 436.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.265, allocations: 55.11 kB / 436.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.2653, allocations: 159.3 kB / 436.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.2657, allocations: 0.6807 MB / 437.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.2657, allocations: 7.438 kB / 437.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2657, allocations: 0 / 437.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of Templates: time 0.002077/0.2678, allocations: 0.6908 MB / 438.3 MB, free: 0.6875 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.559377736179158]