Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.001751/0.001751, allocations: 92.62 kB / 20.96 MB, free: 3.477 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.002076/0.002076, allocations: 153.4 kB / 24.26 MB, free: 184 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.486/1.486, allocations: 173.4 MB / 200.8 MB, free: 9.289 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.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.489e-05/3.71e-05, allocations: 6.25 kB / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.004687/0.004724, allocations: 1.476 MB / 268.8 MB, free: 5.207 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.006071, allocations: 402.8 kB / 269.2 MB, free: 4.809 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.006142, allocations: 0 / 269.2 MB, free: 4.809 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.834e-05/0.006191, allocations: 7.922 kB / 269.2 MB, free: 4.801 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.26e-05/0.006283, allocations: 3.938 kB / 269.2 MB, free: 4.797 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.0066, allocations: 27.91 kB / 269.3 MB, free: 4.77 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.006731, allocations: 35.86 kB / 269.3 MB, free: 4.734 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.006848, allocations: 11.94 kB / 269.3 MB, free: 4.723 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.006956, allocations: 23.97 kB / 269.3 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.007012, allocations: 11.92 kB / 269.3 MB, free: 4.688 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.007036, allocations: 4 kB / 269.3 MB, free: 4.684 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.704e-05/0.007053, allocations: 4 kB / 269.3 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.007083, allocations: 7.984 kB / 269.3 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/0.007138, allocations: 8 kB / 269.4 MB, free: 4.664 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.007277, allocations: 35.83 kB / 269.4 MB, free: 4.629 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.00728, allocations: 4 kB / 269.4 MB, free: 4.625 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.007281, allocations: 0 / 269.4 MB, free: 4.625 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.007286, allocations: 0 / 269.4 MB, free: 4.625 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.000724/0.00801, allocations: 290.2 kB / 269.7 MB, free: 4.312 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.008059, allocations: 12.92 kB / 269.7 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.511e-05/0.008124, allocations: 8.891 kB / 269.7 MB, free: 4.293 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.008424, allocations: 117.7 kB / 269.8 MB, free: 4.152 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.008445, allocations: 4.375 kB / 269.8 MB, free: 4.148 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.008458, allocations: 384 / 269.8 MB, free: 4.148 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007675/0.009225, allocations: 143.8 kB / 270 MB, free: 3.996 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.009235, allocations: 192 / 270 MB, free: 3.996 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.009246, allocations: 384 / 270 MB, free: 3.996 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.009256, allocations: 3.938 kB / 270 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003006/0.009557, allocations: 31.97 kB / 270 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.00977, allocations: 109.3 kB / 270.1 MB, free: 3.824 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/0.01029, allocations: 86.5 kB / 270.2 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.01047, allocations: 32.91 kB / 270.2 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.01049, allocations: 3.938 kB / 270.2 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.762e-05/0.01056, allocations: 34.5 kB / 270.3 MB, free: 3.648 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.01056, allocations: 0 / 270.3 MB, free: 3.648 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0006168/0.01118, allocations: 93.64 kB / 270.3 MB, free: 3.551 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.264e-05/0.01127, allocations: 67.33 kB / 270.4 MB, free: 3.473 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.01143, allocations: 105.9 kB / 270.5 MB, free: 3.359 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.01147, allocations: 25.7 kB / 270.5 MB, free: 3.328 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/0.01155, allocations: 88.12 kB / 270.6 MB, free: 3.238 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.01155, allocations: 0 / 270.6 MB, free: 3.238 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.0116, allocations: 9.719 kB / 270.6 MB, free: 3.223 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002536/0.01185, allocations: 314.8 kB / 270.9 MB, free: 2.906 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.819e-06/0.01186, allocations: 3.938 kB / 270.9 MB, free: 2.902 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.01187, allocations: 4 kB / 271 MB, free: 2.898 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.087e-05/0.01193, allocations: 75.28 kB / 271 MB, free: 2.824 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.058e-05/0.01199, allocations: 75.28 kB / 271.1 MB, free: 2.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001059/0.01209, allocations: 33.7 kB / 271.1 MB, free: 2.711 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.725e-05/0.01217, allocations: 79.28 kB / 271.2 MB, free: 2.633 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.478e-05/0.01225, allocations: 83.2 kB / 271.3 MB, free: 2.551 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003655/0.01261, allocations: 154.6 kB / 271.4 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.01267, allocations: 75.28 kB / 271.5 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001268/0.0128, allocations: 162.4 kB / 271.7 MB, free: 2.164 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.01294, allocations: 79.28 kB / 271.8 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/0.013, allocations: 79.22 kB / 271.8 MB, free: 2.008 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001751/0.01317, allocations: 181.1 kB / 272 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003736/0.01355, allocations: 81.61 kB / 272.1 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.897e-05/0.0136, allocations: 15.98 kB / 272.1 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.0136, allocations: 0 / 272.1 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.01361, allocations: 3.938 kB / 272.1 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01361, allocations: 0 / 272.1 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.01377, allocations: 105.3 kB / 272.2 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.01378, allocations: 4 kB / 272.2 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.01394, allocations: 8 kB / 272.2 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.01395, allocations: 4 kB / 272.2 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.01397, allocations: 7.984 kB / 272.2 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.01397, allocations: 0 / 272.2 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01397, allocations: 0 / 272.2 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000457/0.01443, allocations: 112.9 kB / 272.3 MB, free: 1.422 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.01444, allocations: 0 / 272.3 MB, free: 1.422 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.01447, allocations: 4 kB / 272.3 MB, free: 1.418 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.255e-05/0.01456, allocations: 7.984 kB / 272.4 MB, free: 1.41 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-06/0.01456, allocations: 288 / 272.4 MB, free: 1.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.01457, allocations: 4 kB / 272.4 MB, free: 1.406 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.01467, allocations: 91.22 kB / 272.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01467, allocations: 0 / 272.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000415/0.01509, allocations: 4 kB / 272.5 MB, free: 1.312 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: 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.0001903/0.01528, allocations: 99.23 kB / 272.5 MB, free: 1.207 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.01549, allocations: 23.97 kB / 272.6 MB, free: 1.184 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01549, allocations: 3.938 kB / 272.6 MB, free: 1.18 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-07/0.01549, allocations: 0 / 272.6 MB, free: 1.18 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.01602, allocations: 37.67 kB / 272.6 MB, free: 1.141 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00047/0.01649, allocations: 123.1 kB / 272.7 MB, free: 1 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.01659, allocations: 67.33 kB / 272.8 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.097e-05/0.01661, allocations: 4 kB / 272.8 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.01666, allocations: 8.5 kB / 272.8 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01666, allocations: 0 / 272.8 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of Templates: time 0.004485/0.02114, allocations: 410 kB / 273.2 MB, free: 0.5117 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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 [Calling sys.exit(0), Time elapsed: 4.252920762985013]