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.0007872/0.0007872, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001149/0.001936, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007278/0.0007278, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008781/0.001606, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9591/0.9591, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1018/1.061, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.164e-06/2.164e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/2.038e-05, allocations: 2.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.00251/0.00253, allocations: 1.579 MB / 246.1 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001069/0.002637, allocations: 31.84 kB / 246.1 MB, free: 12.69 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.171e-05/0.002689, allocations: 4 kB / 246.1 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.002714, allocations: 7.922 kB / 246.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.527e-05/0.002739, allocations: 0 / 246.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.002892, allocations: 27.91 kB / 246.2 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.497e-05/0.002987, allocations: 43.86 kB / 246.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.81e-05/0.003075, allocations: 7.984 kB / 246.2 MB, free: 12.6 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.511e-05/0.00317, allocations: 23.97 kB / 246.3 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.571e-05/0.003216, allocations: 15.92 kB / 246.3 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.003242, allocations: 4 kB / 246.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.205e-05/0.003254, allocations: 4 kB / 246.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.003273, allocations: 4 kB / 246.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.003307, allocations: 11.94 kB / 246.3 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.003408, allocations: 23.92 kB / 246.3 MB, free: 12.51 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.482e-05/0.003423, allocations: 0 / 246.3 MB, free: 12.51 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003424, allocations: 0 / 246.3 MB, free: 12.51 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.003439, allocations: 4 kB / 246.3 MB, free: 12.51 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.0004284/0.003867, allocations: 260.5 kB / 246.6 MB, free: 12.23 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.003906, allocations: 8.031 kB / 246.6 MB, free: 12.22 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.003941, allocations: 4.938 kB / 246.6 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.004103, allocations: 125.7 kB / 246.7 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.004124, allocations: 4.375 kB / 246.7 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.004133, allocations: 384 / 246.7 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.004353, allocations: 112.5 kB / 246.8 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.00436, allocations: 192 / 246.8 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.004366, allocations: 384 / 246.8 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.004372, allocations: 384 / 246.8 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.004407, allocations: 15.86 kB / 246.8 MB, free: 11.92 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.185e-05/0.004478, allocations: 61.05 kB / 246.9 MB, free: 11.85 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.835e-05/0.004547, allocations: 30.56 kB / 246.9 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.004576, allocations: 16.83 kB / 246.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.004584, allocations: 4 kB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.004604, allocations: 30.56 kB / 247 MB, free: 11.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.824e-06/0.004606, allocations: 3.984 kB / 247 MB, free: 11.74 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001102/0.004716, allocations: 49.62 kB / 247 MB, free: 11.69 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.004765, allocations: 59.41 kB / 247.1 MB, free: 11.62 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.563e-05/0.00483, allocations: 114.7 kB / 247.2 MB, free: 11.49 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.004843, allocations: 25.7 kB / 247.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.375e-05/0.004867, allocations: 80.14 kB / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.004878, allocations: 11.89 kB / 247.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.004908, allocations: 13.72 kB / 247.3 MB, free: 11.35 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.738e-05/0.005006, allocations: 326.8 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.11e-06/0.005011, allocations: 0 / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-06/0.005018, allocations: 4 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.978e-05/0.005038, allocations: 12.92 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.00504, allocations: 3.938 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.819e-05/0.005089, allocations: 37.69 kB / 247.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.005102, allocations: 7.594 kB / 247.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.005108, allocations: 4 kB / 247.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.005116, allocations: 0 / 247.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.718e-05/0.005163, allocations: 4 kB / 247.7 MB, free: 10.94 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.005166, allocations: 4 kB / 247.7 MB, free: 10.94 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.136e-05/0.005178, allocations: 0 / 247.7 MB, free: 10.94 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-06/0.00518, allocations: 4.031 kB / 247.7 MB, free: 10.93 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 6.118e-05/0.005241, allocations: 109.8 kB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.005285, allocations: 45.62 kB / 247.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.005307, allocations: 11.98 kB / 247.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.005309, allocations: 0 / 247.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.005312, allocations: 4 kB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.005315, allocations: 0 / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.596e-05/0.005371, allocations: 65.84 kB / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.005372, allocations: 0 / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.3e-05/0.005435, allocations: 11.98 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.005445, allocations: 7.984 kB / 248 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.005446, allocations: 4 kB / 248 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.005451, allocations: 0 / 248 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.005452, allocations: 0 / 248 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005452, allocations: 0 / 248 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.484e-05/0.005497, allocations: 61.77 kB / 248 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.005513, allocations: 3.984 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.431e-05/0.005537, allocations: 4 kB / 248.1 MB, free: 10.56 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-06/0.005539, allocations: 3.938 kB / 248.1 MB, free: 10.56 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.005544, allocations: 4 kB / 248.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.667e-05/0.005561, allocations: 16.83 kB / 248.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005561, allocations: 4 kB / 248.1 MB, free: 10.53 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001504/0.005711, allocations: 4 kB / 248.1 MB, free: 10.53 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 7.275e-05/0.005784, allocations: 80.42 kB / 248.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.72e-05/0.005851, allocations: 16.86 kB / 248.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.005854, allocations: 0 / 248.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.6e-07/0.005855, allocations: 0 / 248.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.006011, allocations: 37.22 kB / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.006406, allocations: 123 kB / 248.3 MB, free: 10.23 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.402e-05/0.00644, allocations: 59.42 kB / 248.4 MB, free: 10.16 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.256e-05/0.006452, allocations: 4.25 kB / 248.4 MB, free: 10.15 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.006505, allocations: 59.36 kB / 248.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.006506, allocations: 0 / 248.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of Templates: time 0.002368/0.008874, allocations: 0.599 MB / 249.1 MB, free: 9.5 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4904425740242004]