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.001233/0.001233, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.0009374/0.0009374, allocations: 151 kB / 24.89 MB, free: 8.742 MB / 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 0.9189/0.9189, allocations: 173.4 MB / 201.5 MB, free: 8.777 MB / 186.7 MB " [Timeout remaining time 179] 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 1.092e-06/1.092e-06, allocations: 0 / 268.5 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/1.99e-05, allocations: 10.25 kB / 268.5 MB, free: 6.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.00196/0.00198, allocations: 1.518 MB / 270 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005376/0.002518, allocations: 410.8 kB / 270.4 MB, free: 4.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.002571, allocations: 3.938 kB / 270.4 MB, free: 4.086 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.002594, allocations: 3.984 kB / 270.4 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.117e-05/0.002656, allocations: 11.88 kB / 270.4 MB, free: 4.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.002835, allocations: 31.84 kB / 270.5 MB, free: 4.039 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.991e-05/0.002905, allocations: 35.86 kB / 270.5 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.495e-05/0.00297, allocations: 4 kB / 270.5 MB, free: 4 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.003031, allocations: 23.97 kB / 270.5 MB, free: 3.977 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.433e-05/0.003065, allocations: 8 kB / 270.5 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.003085, allocations: 8 kB / 270.5 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-06/0.003093, allocations: 7.938 kB / 270.5 MB, free: 3.953 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.00311, allocations: 7.969 kB / 270.5 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.003132, allocations: 8 kB / 270.6 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.3e-05/0.003205, allocations: 27.91 kB / 270.6 MB, free: 3.91 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.003207, allocations: 0 / 270.6 MB, free: 3.91 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003208, allocations: 0 / 270.6 MB, free: 3.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.003215, allocations: 0 / 270.6 MB, free: 3.91 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.0002504/0.003466, allocations: 244.9 kB / 270.8 MB, free: 3.648 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.003496, allocations: 12.91 kB / 270.8 MB, free: 3.637 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.003518, allocations: 8.938 kB / 270.8 MB, free: 3.629 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.003632, allocations: 125.7 kB / 271 MB, free: 3.48 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.864e-06/0.003639, allocations: 4.375 kB / 271 MB, free: 3.477 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.003648, allocations: 384 / 271 MB, free: 3.477 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.003806, allocations: 100.6 kB / 271.1 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.003812, allocations: 192 / 271.1 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-06/0.003817, allocations: 384 / 271.1 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.003821, allocations: 7.938 kB / 271.1 MB, free: 3.355 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.919e-05/0.003841, allocations: 7.938 kB / 271.1 MB, free: 3.348 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.252e-05/0.003893, allocations: 61.03 kB / 271.1 MB, free: 3.273 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.205e-05/0.003945, allocations: 34.56 kB / 271.2 MB, free: 3.23 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.003964, allocations: 12.84 kB / 271.2 MB, free: 3.215 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.003975, allocations: 4 kB / 271.2 MB, free: 3.211 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.003992, allocations: 30.56 kB / 271.2 MB, free: 3.172 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.003993, allocations: 0 / 271.2 MB, free: 3.172 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 9.353e-05/0.004086, allocations: 53.75 kB / 271.3 MB, free: 3.113 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.004121, allocations: 55.41 kB / 271.3 MB, free: 3.047 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.405e-05/0.004175, allocations: 114.7 kB / 271.4 MB, free: 2.922 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.004184, allocations: 25.7 kB / 271.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.1e-05/0.004205, allocations: 88.08 kB / 271.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.382e-06/0.004207, allocations: 0 / 271.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.004221, allocations: 9.719 kB / 271.6 MB, free: 2.785 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.419e-05/0.004295, allocations: 326.8 kB / 271.9 MB, free: 2.457 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.436e-06/0.004299, allocations: 4 kB / 271.9 MB, free: 2.453 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.136e-06/0.004302, allocations: 0 / 271.9 MB, free: 2.453 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.697e-05/0.004319, allocations: 75.28 kB / 272 MB, free: 2.379 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/0.004334, allocations: 75.28 kB / 272 MB, free: 2.305 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.516e-05/0.004369, allocations: 33.64 kB / 272.1 MB, free: 2.266 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.004395, allocations: 83.28 kB / 272.1 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.004413, allocations: 75.28 kB / 272.2 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.875e-05/0.004451, allocations: 162.5 kB / 272.4 MB, free: 1.949 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.00472, allocations: 79.27 kB / 272.5 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.983e-05/0.00475, allocations: 154.9 kB / 272.6 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.056e-05/0.00479, allocations: 87.16 kB / 272.7 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.004805, allocations: 75.28 kB / 272.8 MB, free: 1.559 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 5.951e-05/0.004865, allocations: 181.1 kB / 272.9 MB, free: 1.371 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.004908, allocations: 45.62 kB / 273 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.129e-05/0.004929, allocations: 8 kB / 273 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.00493, allocations: 4 kB / 273 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.004932, allocations: 0 / 273 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.004935, allocations: 4 kB / 273 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.297e-05/0.004978, allocations: 69.83 kB / 273.1 MB, free: 1.211 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.004981, allocations: 0 / 273.1 MB, free: 1.211 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.188e-05/0.005043, allocations: 7.984 kB / 273.1 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.005047, allocations: 4 kB / 273.1 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-06/0.005051, allocations: 0 / 273.1 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.005052, allocations: 0 / 273.1 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.005052, allocations: 0 / 273.1 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.983e-05/0.005092, allocations: 65.22 kB / 273.1 MB, free: 1.117 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-06/0.0051, allocations: 11.95 kB / 273.2 MB, free: 1.105 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.732e-06/0.005107, allocations: 0 / 273.2 MB, free: 1.105 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.327e-05/0.00512, allocations: 7.922 kB / 273.2 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-06/0.005123, allocations: 4 kB / 273.2 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.005127, allocations: 0 / 273.2 MB, free: 1.094 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.194e-05/0.005139, allocations: 12.84 kB / 273.2 MB, free: 1.078 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005139, allocations: 3.938 kB / 273.2 MB, free: 1.074 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001072/0.005246, allocations: 4 kB / 273.2 MB, free: 1.07 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 7.039e-05/0.005317, allocations: 80.41 kB / 273.3 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.146e-05/0.005348, allocations: 8 kB / 273.3 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.005352, allocations: 4 kB / 273.3 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.005352, allocations: 0 / 273.3 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.005471, allocations: 21.03 kB / 273.3 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001773/0.005649, allocations: 123.4 kB / 273.4 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.544e-05/0.005674, allocations: 55.36 kB / 273.5 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.505e-06/0.005682, allocations: 0 / 273.5 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.005717, allocations: 55.36 kB / 273.5 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of SimCode: time 4.9e-07/0.005717, allocations: 4 kB / 273.5 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of Templates: time 0.001634/0.007351, allocations: 443.8 kB / 274 MB, free: 256 kB / 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 240] 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","",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.459397427737713]