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.002599/0.002599, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.003149/0.003149, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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 1.58/1.58, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.513e-06/1.513e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.156e-05, allocations: 2.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003042/0.003074, allocations: 1.517 MB / 273.8 MB, free: 316 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009025/0.003976, allocations: 419 kB / 274.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.219e-05/0.004038, allocations: 0 / 274.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.00407, allocations: 7.922 kB / 274.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.657e-05/0.004156, allocations: 15.88 kB / 274.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.00439, allocations: 23.91 kB / 274.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.004491, allocations: 39.86 kB / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.739e-05/0.004578, allocations: 11.94 kB / 274.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.539e-05/0.004664, allocations: 23.89 kB / 274.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.736e-05/0.004701, allocations: 12 kB / 274.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.00472, allocations: 0 / 274.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.004732, allocations: 4 kB / 274.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.004755, allocations: 7.984 kB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.004788, allocations: 7.938 kB / 274.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.004904, allocations: 43.94 kB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.004906, allocations: 0 / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.004907, allocations: 0 / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.004912, allocations: 0 / 274.4 MB, free: 15.7 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.0005502/0.005462, allocations: 376.2 kB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.005499, allocations: 8.031 kB / 274.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.005547, allocations: 8.891 kB / 274.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.005747, allocations: 124.5 kB / 275 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.005763, allocations: 12.31 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.005772, allocations: 4.375 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.006155, allocations: 121.5 kB / 275.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.006164, allocations: 192 / 275.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.006174, allocations: 384 / 275.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.006183, allocations: 3.938 kB / 275.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.006308, allocations: 23.98 kB / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.006461, allocations: 116.6 kB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.00668, allocations: 82.97 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.364e-05/0.006764, allocations: 27.75 kB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.006785, allocations: 0 / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.006826, allocations: 37.39 kB / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.006827, allocations: 0 / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.000311/0.007138, allocations: 85.78 kB / 275.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/0.007211, allocations: 55.34 kB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.007353, allocations: 173.9 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.007375, allocations: 29.7 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.164e-05/0.007467, allocations: 138.9 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.00747, allocations: 0 / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.007501, allocations: 15.38 kB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002569/0.007758, allocations: 492.1 kB / 276.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-06/0.007765, allocations: 4 kB / 276.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-06/0.007768, allocations: 0 / 276.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.636e-05/0.007834, allocations: 119.2 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-05/0.007895, allocations: 119.2 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.271e-05/0.007968, allocations: 53.61 kB / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.236e-05/0.00804, allocations: 127.2 kB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.389e-05/0.008104, allocations: 119.2 kB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003815/0.008485, allocations: 242.4 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.547e-05/0.008551, allocations: 123.1 kB / 277.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001194/0.00867, allocations: 242.3 kB / 277.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.008776, allocations: 127.1 kB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.428e-05/0.00884, allocations: 123.2 kB / 277.7 MB, free: 12.22 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 0.0001817/0.009022, allocations: 283.8 kB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.009186, allocations: 57.69 kB / 278 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.009223, allocations: 8 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.009225, allocations: 7.938 kB / 278.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.009233, allocations: 7.922 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.009236, allocations: 3.938 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.009348, allocations: 116.6 kB / 278.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.009352, allocations: 0 / 278.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-05/0.009446, allocations: 11.98 kB / 278.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.009449, allocations: 0 / 278.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.009461, allocations: 8 kB / 278.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.009464, allocations: 0 / 278.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.009465, allocations: 0 / 278.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.00969, allocations: 112.3 kB / 278.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.0097, allocations: 3.938 kB / 278.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.009715, allocations: 0 / 278.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.888e-05/0.009754, allocations: 7.984 kB / 278.3 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-06/0.009757, allocations: 0 / 278.3 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.009763, allocations: 0 / 278.3 MB, free: 11.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.18e-05/0.009855, allocations: 135.1 kB / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009855, allocations: 0 / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002177/0.01007, allocations: 7.938 kB / 278.5 MB, free: 11.39 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 0.0001396/0.01021, allocations: 99.23 kB / 278.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.01033, allocations: 16 kB / 278.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01033, allocations: 0 / 278.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.01033, allocations: 0 / 278.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.01066, allocations: 33.14 kB / 278.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.011, allocations: 129 kB / 278.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.409e-05/0.01107, allocations: 63.34 kB / 278.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.166e-05/0.01108, allocations: 0 / 278.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.01112, allocations: 16.5 kB / 278.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01112, allocations: 4 kB / 278.8 MB, free: 10.97 MB / 266.7 MB Notification: Performance of Templates: time 0.003236/0.01436, allocations: 413.5 kB / 279.2 MB, free: 10.57 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.581778034102172]