Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002153/0.002153, allocations: 153.4 kB / 24.26 MB, free: 180 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 173.4 MB / 200.8 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 267.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.329e-05, allocations: 2.312 kB / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002934/0.002967, allocations: 1.456 MB / 268.8 MB, free: 5.227 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002069/0.003174, allocations: 43.83 kB / 268.8 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.003232, allocations: 0 / 268.8 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.003262, allocations: 3.938 kB / 268.8 MB, free: 5.18 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.764e-05/0.003309, allocations: 4 kB / 268.8 MB, free: 5.176 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.003567, allocations: 23.91 kB / 268.9 MB, free: 5.152 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.673e-05/0.003664, allocations: 39.86 kB / 268.9 MB, free: 5.113 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.003771, allocations: 19.97 kB / 268.9 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.498e-05/0.003856, allocations: 19.98 kB / 268.9 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.778e-05/0.003904, allocations: 11.92 kB / 269 MB, free: 5.062 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.003928, allocations: 7.938 kB / 269 MB, free: 5.055 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.769e-05/0.003946, allocations: 8 kB / 269 MB, free: 5.047 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.00397, allocations: 7.984 kB / 269 MB, free: 5.039 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.004013, allocations: 11.94 kB / 269 MB, free: 5.027 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.004129, allocations: 39.92 kB / 269 MB, free: 4.988 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004131, allocations: 0 / 269 MB, free: 4.988 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004131, allocations: 0 / 269 MB, free: 4.988 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.004135, allocations: 0 / 269 MB, free: 4.988 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.0005743/0.00471, allocations: 286.2 kB / 269.3 MB, free: 4.676 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.004752, allocations: 12.86 kB / 269.3 MB, free: 4.664 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.175e-05/0.004814, allocations: 8.891 kB / 269.3 MB, free: 4.656 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.005041, allocations: 125.8 kB / 269.5 MB, free: 4.508 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.005061, allocations: 384 / 269.5 MB, free: 4.508 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.005077, allocations: 4.375 kB / 269.5 MB, free: 4.504 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/0.00572, allocations: 163.7 kB / 269.6 MB, free: 4.332 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.005729, allocations: 192 / 269.6 MB, free: 4.332 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.00574, allocations: 384 / 269.6 MB, free: 4.332 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.005754, allocations: 4.359 kB / 269.6 MB, free: 4.328 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.006032, allocations: 43.89 kB / 269.7 MB, free: 4.285 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.006183, allocations: 117.2 kB / 269.8 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.006534, allocations: 90.44 kB / 269.9 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.00669, allocations: 32.91 kB / 269.9 MB, free: 4.008 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.006703, allocations: 0 / 269.9 MB, free: 4.008 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.531e-05/0.006758, allocations: 38.56 kB / 269.9 MB, free: 3.961 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.006759, allocations: 0 / 269.9 MB, free: 3.961 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005388/0.007297, allocations: 117.5 kB / 270.1 MB, free: 3.84 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.007358, allocations: 51.41 kB / 270.1 MB, free: 3.777 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.007468, allocations: 113.8 kB / 270.2 MB, free: 3.656 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002708/0.007739, allocations: 29.7 kB / 270.2 MB, free: 3.621 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.007796, allocations: 80.14 kB / 270.3 MB, free: 3.539 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.014e-05/0.007806, allocations: 4 kB / 270.3 MB, free: 3.535 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.007839, allocations: 17.72 kB / 270.3 MB, free: 3.512 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.008016, allocations: 310.8 kB / 270.6 MB, free: 3.199 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/0.008031, allocations: 7.984 kB / 270.7 MB, free: 3.191 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.902e-06/0.008037, allocations: 0 / 270.7 MB, free: 3.191 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.748e-05/0.008064, allocations: 12.86 kB / 270.7 MB, free: 3.176 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.008066, allocations: 0 / 270.7 MB, free: 3.176 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001127/0.008179, allocations: 45.59 kB / 270.7 MB, free: 3.125 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.008194, allocations: 11.94 kB / 270.7 MB, free: 3.113 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.008198, allocations: 4.094 kB / 270.7 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.00821, allocations: 0 / 270.7 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.862e-05/0.008259, allocations: 4 kB / 270.7 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.008266, allocations: 3.984 kB / 270.7 MB, free: 3.102 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.008282, allocations: 3.938 kB / 270.7 MB, free: 3.098 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-06/0.008285, allocations: 0 / 270.7 MB, free: 3.098 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 9.658e-05/0.008382, allocations: 109.8 kB / 270.8 MB, free: 2.98 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000331/0.008713, allocations: 85.64 kB / 270.9 MB, free: 2.891 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.008744, allocations: 8 kB / 270.9 MB, free: 2.875 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.008748, allocations: 8.156 kB / 270.9 MB, free: 2.867 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.008752, allocations: 4 kB / 270.9 MB, free: 2.863 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.008761, allocations: 7.922 kB / 271 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.949e-05/0.00886, allocations: 101.3 kB / 271.1 MB, free: 2.727 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.008864, allocations: 3.984 kB / 271.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.008969, allocations: 19.98 kB / 271.1 MB, free: 2.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.008971, allocations: 0 / 271.1 MB, free: 2.703 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.008978, allocations: 0 / 271.1 MB, free: 2.703 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.008979, allocations: 0 / 271.1 MB, free: 2.703 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.00898, allocations: 0 / 271.1 MB, free: 2.703 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.009336, allocations: 121 kB / 271.2 MB, free: 2.566 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/0.009347, allocations: 4 kB / 271.2 MB, free: 2.562 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.009363, allocations: 4 kB / 271.2 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.009432, allocations: 7.984 kB / 271.2 MB, free: 2.551 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-06/0.009434, allocations: 0 / 271.2 MB, free: 2.551 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.009445, allocations: 8 kB / 271.2 MB, free: 2.543 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.525e-05/0.00951, allocations: 87.52 kB / 271.3 MB, free: 2.457 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00951, allocations: 0 / 271.3 MB, free: 2.457 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001876/0.009698, allocations: 4 kB / 271.3 MB, free: 2.453 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 0.0001305/0.009829, allocations: 103.2 kB / 271.4 MB, free: 2.344 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.01003, allocations: 31.97 kB / 271.4 MB, free: 2.312 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01003, allocations: 4.062 kB / 271.4 MB, free: 2.309 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.01003, allocations: 3.938 kB / 271.4 MB, free: 2.305 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.01042, allocations: 45.39 kB / 271.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.01086, allocations: 127.1 kB / 271.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.458e-05/0.01093, allocations: 67.28 kB / 271.7 MB, free: 2.023 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.544e-05/0.01096, allocations: 7.906 kB / 271.7 MB, free: 2.016 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.011, allocations: 16.48 kB / 271.7 MB, free: 2 MB / 250.7 MB Notification: Performance of SimCode: time 3.81e-07/0.011, allocations: 0 / 271.7 MB, free: 2 MB / 250.7 MB Notification: Performance of Templates: time 0.003175/0.01417, allocations: 0.566 MB / 272.3 MB, free: 1.445 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.188978118007071]