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.0009129/0.0009129, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.000856/0.000856, allocations: 145.1 kB / 24.54 MB, free: 32 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.028/1.028, allocations: 173.4 MB / 201.1 MB, free: 8.973 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.964e-06/1.964e-06, allocations: 0 / 268 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.736e-05/3.932e-05, allocations: 2.312 kB / 268 MB, free: 6.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003047/0.003086, allocations: 1.516 MB / 269.5 MB, free: 4.723 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008006/0.003887, allocations: 398.9 kB / 269.9 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.003967, allocations: 0 / 269.9 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.362e-05/0.004011, allocations: 7.938 kB / 269.9 MB, free: 4.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.665e-05/0.004107, allocations: 19.86 kB / 269.9 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.004402, allocations: 19.92 kB / 270 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.004524, allocations: 39.84 kB / 270 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.004659, allocations: 15.97 kB / 270 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.004766, allocations: 19.92 kB / 270 MB, free: 4.207 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.345e-05/0.004829, allocations: 15.92 kB / 270.1 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.004858, allocations: 4 kB / 270.1 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.004872, allocations: 4 kB / 270.1 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.004897, allocations: 4 kB / 270.1 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.004936, allocations: 4 kB / 270.1 MB, free: 4.176 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.005062, allocations: 35.89 kB / 270.1 MB, free: 4.141 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.005065, allocations: 0 / 270.1 MB, free: 4.141 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.005066, allocations: 0 / 270.1 MB, free: 4.141 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.005072, allocations: 0 / 270.1 MB, free: 4.141 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.0005364/0.005609, allocations: 376.5 kB / 270.5 MB, free: 3.738 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.005669, allocations: 8.922 kB / 270.5 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.00572, allocations: 8.891 kB / 270.5 MB, free: 3.723 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.005943, allocations: 124.6 kB / 270.6 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.005956, allocations: 384 / 270.6 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.005972, allocations: 4.375 kB / 270.6 MB, free: 3.57 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.006291, allocations: 122.1 kB / 270.7 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.006304, allocations: 192 / 270.7 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.006316, allocations: 384 / 270.7 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.006329, allocations: 7.938 kB / 270.7 MB, free: 3.426 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.188e-05/0.006371, allocations: 8 kB / 270.8 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.006505, allocations: 112.6 kB / 270.9 MB, free: 3.273 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.772e-05/0.006603, allocations: 46.98 kB / 270.9 MB, free: 3.215 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.006648, allocations: 23.72 kB / 270.9 MB, free: 3.188 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.006669, allocations: 0 / 270.9 MB, free: 3.188 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.006698, allocations: 41.42 kB / 271 MB, free: 3.137 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.006699, allocations: 0 / 271 MB, free: 3.137 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000187/0.006886, allocations: 49.69 kB / 271 MB, free: 3.082 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.006935, allocations: 67.22 kB / 271.1 MB, free: 3.004 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.623e-05/0.007031, allocations: 165.9 kB / 271.2 MB, free: 2.824 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.007044, allocations: 25.7 kB / 271.3 MB, free: 2.793 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.007095, allocations: 130.9 kB / 271.4 MB, free: 2.66 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-06/0.007097, allocations: 0 / 271.4 MB, free: 2.66 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.007122, allocations: 15.38 kB / 271.4 MB, free: 2.637 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.007288, allocations: 0.4923 MB / 271.9 MB, free: 2.133 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-06/0.007293, allocations: 0 / 271.9 MB, free: 2.133 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.507e-06/0.007297, allocations: 0 / 271.9 MB, free: 2.133 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.033e-05/0.007337, allocations: 119.2 kB / 272 MB, free: 2.016 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.492e-05/0.007372, allocations: 119.2 kB / 272.1 MB, free: 1.898 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.862e-05/0.007431, allocations: 33.69 kB / 272.2 MB, free: 1.859 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.036e-05/0.007481, allocations: 123.2 kB / 272.3 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-05/0.007526, allocations: 127.1 kB / 272.4 MB, free: 1.613 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-05/0.007613, allocations: 238.4 kB / 272.7 MB, free: 1.379 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.97e-05/0.007663, allocations: 123.1 kB / 272.8 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.738e-05/0.00774, allocations: 254.3 kB / 273 MB, free: 1.008 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-05/0.007823, allocations: 123.2 kB / 273.1 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/0.007863, allocations: 123.1 kB / 273.3 MB, free: 0.7656 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.0001178/0.007981, allocations: 279.8 kB / 273.5 MB, free: 492 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.269e-05/0.008054, allocations: 45.66 kB / 273.6 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.861e-05/0.008092, allocations: 12.22 kB / 273.6 MB, free: 420 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.008094, allocations: 0 / 273.6 MB, free: 420 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.008101, allocations: 7.922 kB / 273.6 MB, free: 412 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.008104, allocations: 0 / 273.6 MB, free: 412 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.346e-05/0.008178, allocations: 120.6 kB / 273.7 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.008181, allocations: 0 / 273.7 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.008293, allocations: 15.94 kB / 273.7 MB, free: 240 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.008298, allocations: 4 kB / 273.7 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.008307, allocations: 0 / 273.7 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.00831, allocations: 0 / 273.7 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.008311, allocations: 0 / 273.7 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.00842, allocations: 88.33 kB / 273.8 MB, free: 124 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.00843, allocations: 3.984 kB / 273.8 MB, free: 120 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.008443, allocations: 4 kB / 273.8 MB, free: 116 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.833e-05/0.008471, allocations: 0 / 273.8 MB, free: 116 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-06/0.008474, allocations: 3.938 kB / 273.8 MB, free: 112 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.008483, allocations: 8 kB / 273.8 MB, free: 104 kB / 250.7 MB Notification: Performance of sorting global known variables: time 8.135e-05/0.008564, allocations: 135.1 kB / 274 MB, free: 15.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008564, allocations: 0 / 274 MB, free: 15.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002604/0.008825, allocations: 4 kB / 274 MB, free: 15.96 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.0001048/0.008929, allocations: 99.19 kB / 274.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.964e-05/0.008999, allocations: 7.938 kB / 274.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.009002, allocations: 4 kB / 274.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.009003, allocations: 0 / 274.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.009285, allocations: 17.14 kB / 274.1 MB, free: 15.83 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.009595, allocations: 125.3 kB / 274.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.548e-05/0.009641, allocations: 63.34 kB / 274.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.052e-05/0.009651, allocations: 0 / 274.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.00968, allocations: 8.5 kB / 274.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.009681, allocations: 0 / 274.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of Templates: time 0.00256/0.01224, allocations: 424.9 kB / 274.7 MB, free: 15.18 MB / 266.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.7950025876052678]