Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.001379/0.001379, allocations: 80.8 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001088/0.001088, allocations: 173.6 kB / 24.91 MB, free: 8.77 MB / 18.57 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.9681/0.9681, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.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.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 3.938 kB / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.568e-06/1.075e-05, allocations: 2.312 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.001679/0.001689, allocations: 1.54 MB / 275 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005219/0.002211, allocations: 450.8 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.002262, allocations: 0 / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.349e-05/0.002286, allocations: 3.938 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.731e-05/0.002343, allocations: 0 / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.00251, allocations: 31.84 kB / 275.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.622e-05/0.002576, allocations: 35.86 kB / 275.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.275e-05/0.002638, allocations: 15.97 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.949e-05/0.002698, allocations: 19.92 kB / 275.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.869e-05/0.002727, allocations: 11.98 kB / 275.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.002744, allocations: 0 / 275.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.404e-06/0.002752, allocations: 4 kB / 275.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.002767, allocations: 11.94 kB / 275.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.002786, allocations: 11.98 kB / 275.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.939e-05/0.002856, allocations: 39.77 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002857, allocations: 0 / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.002858, allocations: 0 / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.445e-06/0.00286, allocations: 0 / 275.6 MB, free: 15.12 MB / 266.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.0002427/0.003103, allocations: 244.9 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.003131, allocations: 12.03 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.141e-05/0.003152, allocations: 4.938 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.935e-05/0.003251, allocations: 117.7 kB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.711e-06/0.003257, allocations: 4.375 kB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.003265, allocations: 4.375 kB / 276 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.003409, allocations: 104.5 kB / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.649e-06/0.003414, allocations: 4.188 kB / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-06/0.003419, allocations: 384 / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.003424, allocations: 3.938 kB / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.846e-05/0.003442, allocations: 7.984 kB / 276.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.043e-05/0.003493, allocations: 65.05 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.695e-05/0.00354, allocations: 26.56 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.003557, allocations: 16.84 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.003568, allocations: 0 / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.003587, allocations: 42.5 kB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.003588, allocations: 0 / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 7.642e-05/0.003664, allocations: 41.69 kB / 276.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.003695, allocations: 59.39 kB / 276.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.406e-05/0.003739, allocations: 110.7 kB / 276.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.003747, allocations: 25.7 kB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.719e-05/0.003764, allocations: 92.11 kB / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.92e-07/0.003765, allocations: 0 / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/0.003781, allocations: 17.72 kB / 276.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.849e-05/0.00384, allocations: 314.8 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-06/0.003843, allocations: 3.938 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-06/0.003847, allocations: 4 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.421e-05/0.003861, allocations: 75.28 kB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.487e-05/0.003876, allocations: 83.22 kB / 277.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.705e-05/0.003903, allocations: 29.69 kB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.003924, allocations: 83.28 kB / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.003942, allocations: 79.22 kB / 277.3 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.231e-05/0.003975, allocations: 154.6 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.751e-05/0.003992, allocations: 79.28 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-05/0.004027, allocations: 154.5 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/0.004063, allocations: 79.22 kB / 277.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.004078, allocations: 83.2 kB / 277.8 MB, free: 12.77 MB / 266.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.542e-05/0.004134, allocations: 193.1 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.004164, allocations: 33.7 kB / 278 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.004e-05/0.004184, allocations: 11.98 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.11e-07/0.004185, allocations: 0 / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.004186, allocations: 0 / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.004188, allocations: 4 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.987e-05/0.004228, allocations: 77.73 kB / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.00423, allocations: 0 / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-05/0.004281, allocations: 11.98 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.004284, allocations: 0 / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-06/0.004287, allocations: 0 / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.004288, allocations: 0 / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.00429, allocations: 4 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.007e-05/0.00432, allocations: 61 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-06/0.004324, allocations: 0 / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-06/0.004331, allocations: 0 / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.174e-05/0.004343, allocations: 8 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-06/0.004345, allocations: 0 / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.004349, allocations: 0 / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.557e-05/0.004365, allocations: 24.83 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004365, allocations: 0 / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001038/0.004468, allocations: 0 / 278.2 MB, free: 12.29 MB / 266.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 5.757e-05/0.004526, allocations: 76.42 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.956e-05/0.004556, allocations: 4 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.004557, allocations: 4 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.004558, allocations: 7.938 kB / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.00467, allocations: 21.05 kB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001534/0.004823, allocations: 115.8 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.087e-05/0.004854, allocations: 63.34 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.494e-06/0.004862, allocations: 0 / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.004893, allocations: 51.38 kB / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of SimCode: time 3.11e-07/0.004893, allocations: 0 / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of Templates: time 0.001546/0.00644, allocations: 453.5 kB / 279 MB, free: 11.46 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.53359880996868]