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.001696/0.001696, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001487/0.001487, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9558/0.9558, allocations: 177.1 MB / 206 MB, free: 4.477 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.843e-06/1.843e-06, allocations: 3.938 kB / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.827e-05, allocations: 2.312 kB / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002783/0.002802, allocations: 1.518 MB / 275.7 MB, free: 2.875 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008732/0.003675, allocations: 437.1 kB / 276.1 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.003741, allocations: 0 / 276.1 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.05e-05/0.003782, allocations: 8.438 kB / 276.2 MB, free: 2.438 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.251e-05/0.003864, allocations: 12.69 kB / 276.2 MB, free: 2.426 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.004095, allocations: 27.86 kB / 276.2 MB, free: 2.398 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.541e-05/0.00419, allocations: 36.47 kB / 276.2 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.472e-05/0.004285, allocations: 8 kB / 276.2 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.49e-05/0.00437, allocations: 26.39 kB / 276.3 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.21e-05/0.004412, allocations: 7.984 kB / 276.3 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.004434, allocations: 4 kB / 276.3 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.004444, allocations: 4 kB / 276.3 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.004466, allocations: 7.984 kB / 276.3 MB, free: 2.309 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.004498, allocations: 15.92 kB / 276.3 MB, free: 2.293 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.081e-05/0.004588, allocations: 33.78 kB / 276.3 MB, free: 2.262 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.004591, allocations: 0 / 276.3 MB, free: 2.262 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004591, allocations: 0 / 276.3 MB, free: 2.262 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.004595, allocations: 0 / 276.3 MB, free: 2.262 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.0004018/0.004997, allocations: 368.6 kB / 276.7 MB, free: 1.867 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.005036, allocations: 8.531 kB / 276.7 MB, free: 1.859 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.005072, allocations: 8.891 kB / 276.7 MB, free: 1.852 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.005226, allocations: 117.3 kB / 276.8 MB, free: 1.711 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.005239, allocations: 8.375 kB / 276.8 MB, free: 1.703 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.005249, allocations: 8.312 kB / 276.8 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.005484, allocations: 122.1 kB / 277 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.005493, allocations: 192 / 277 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.005502, allocations: 384 / 277 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.00551, allocations: 3.938 kB / 277 MB, free: 1.555 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.859e-05/0.005538, allocations: 7.984 kB / 277 MB, free: 1.547 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001079/0.005646, allocations: 101.3 kB / 277.1 MB, free: 1.422 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.794e-05/0.005724, allocations: 43.03 kB / 277.1 MB, free: 1.367 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.005759, allocations: 15.75 kB / 277.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.005773, allocations: 4 kB / 277.1 MB, free: 1.344 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.005798, allocations: 37.33 kB / 277.2 MB, free: 1.297 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.005799, allocations: 0 / 277.2 MB, free: 1.297 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001452/0.005944, allocations: 49.83 kB / 277.2 MB, free: 1.242 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.00599, allocations: 55.44 kB / 277.3 MB, free: 1.176 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.946e-05/0.006079, allocations: 173.8 kB / 277.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.006093, allocations: 25.7 kB / 277.5 MB, free: 0.957 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.006141, allocations: 134.9 kB / 277.6 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.283e-06/0.006142, allocations: 0 / 277.6 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.006169, allocations: 15.38 kB / 277.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.006312, allocations: 0.4884 MB / 278.1 MB, free: 304 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-06/0.006317, allocations: 3.938 kB / 278.1 MB, free: 300 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.858e-06/0.006321, allocations: 0 / 278.1 MB, free: 300 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.536e-05/0.006356, allocations: 119.2 kB / 278.2 MB, free: 180 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.482e-05/0.006391, allocations: 123.2 kB / 278.3 MB, free: 56 kB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.384e-05/0.006445, allocations: 33.66 kB / 278.4 MB, free: 16 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.013e-05/0.006505, allocations: 123.2 kB / 278.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-05/0.006549, allocations: 131.1 kB / 278.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.822e-05/0.006627, allocations: 242.4 kB / 278.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.325e-05/0.006661, allocations: 119.2 kB / 279 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-05/0.006725, allocations: 242.3 kB / 279.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.815e-05/0.006803, allocations: 135.1 kB / 279.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.006838, allocations: 123.1 kB / 279.5 MB, free: 14.92 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.0001057/0.006944, allocations: 271.8 kB / 279.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.00701, allocations: 45.69 kB / 279.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.007041, allocations: 12 kB / 279.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.007043, allocations: 0 / 279.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.007045, allocations: 3.938 kB / 279.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.007049, allocations: 7.938 kB / 279.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.756e-05/0.007127, allocations: 101.2 kB / 279.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.00713, allocations: 0 / 279.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.746e-05/0.007207, allocations: 8 kB / 279.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.00721, allocations: 0 / 279.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-06/0.007215, allocations: 0 / 279.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.007217, allocations: 0 / 279.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.007219, allocations: 4 kB / 279.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.619e-05/0.007275, allocations: 76.42 kB / 280 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-06/0.007282, allocations: 0 / 280 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.007293, allocations: 0 / 280 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.905e-05/0.007322, allocations: 16 kB / 280 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-06/0.007326, allocations: 0 / 280 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-06/0.007331, allocations: 0 / 280 MB, free: 14.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.055e-05/0.007382, allocations: 131.2 kB / 280.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007382, allocations: 4 kB / 280.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.007625, allocations: 0 / 280.1 MB, free: 14.18 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 8.95e-05/0.007714, allocations: 95.25 kB / 280.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.196e-05/0.007766, allocations: 7.984 kB / 280.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.007767, allocations: 0 / 280.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.52e-07/0.007768, allocations: 7.938 kB / 280.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.008007, allocations: 21.09 kB / 280.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002424/0.00825, allocations: 125.2 kB / 280.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.712e-05/0.008287, allocations: 63.2 kB / 280.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.839e-06/0.008297, allocations: 0 / 280.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.008346, allocations: 70.2 kB / 280.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008347, allocations: 0 / 280.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of Templates: time 0.00164/0.009987, allocations: 443.9 kB / 280.9 MB, free: 13.3 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.624479048885405]