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.001033/0.001033, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.00102/0.00102, allocations: 145.1 kB / 24.54 MB, free: 36 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 0.9764/0.9764, allocations: 173.3 MB / 201.1 MB, free: 9.328 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.323e-06/1.323e-06, allocations: 0 / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.674e-05, allocations: 6.25 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002125/0.002152, allocations: 1.522 MB / 269.5 MB, free: 4.883 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006503/0.002802, allocations: 406.9 kB / 269.9 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.002873, allocations: 0 / 269.9 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.002906, allocations: 3.938 kB / 269.9 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.65e-05/0.002982, allocations: 7.922 kB / 269.9 MB, free: 4.469 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.003216, allocations: 35.84 kB / 270 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.611e-05/0.003312, allocations: 39.86 kB / 270 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.003412, allocations: 4 kB / 270 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.342e-05/0.003486, allocations: 15.98 kB / 270 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.489e-05/0.003531, allocations: 19.97 kB / 270.1 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.003555, allocations: 3.938 kB / 270.1 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.003569, allocations: 4 kB / 270.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.003592, allocations: 7.984 kB / 270.1 MB, free: 4.34 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.003623, allocations: 4 kB / 270.1 MB, free: 4.336 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.003724, allocations: 31.84 kB / 270.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003726, allocations: 0 / 270.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.003728, allocations: 4 kB / 270.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.003732, allocations: 0 / 270.1 MB, free: 4.301 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.0003834/0.004116, allocations: 372.6 kB / 270.5 MB, free: 3.902 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.00416, allocations: 12.92 kB / 270.5 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.004199, allocations: 4.891 kB / 270.5 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.004353, allocations: 124.5 kB / 270.6 MB, free: 3.738 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.004364, allocations: 4.375 kB / 270.6 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.004373, allocations: 384 / 270.6 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.004654, allocations: 122.1 kB / 270.7 MB, free: 3.598 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.004662, allocations: 192 / 270.7 MB, free: 3.598 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.004672, allocations: 4.359 kB / 270.7 MB, free: 3.594 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.004681, allocations: 3.938 kB / 270.7 MB, free: 3.59 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.506e-05/0.004716, allocations: 8 kB / 270.7 MB, free: 3.582 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001078/0.004824, allocations: 112.6 kB / 270.9 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.107e-05/0.004895, allocations: 43.09 kB / 270.9 MB, free: 3.383 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.004931, allocations: 23.7 kB / 270.9 MB, free: 3.355 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.004948, allocations: 4 kB / 270.9 MB, free: 3.352 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.004968, allocations: 41.33 kB / 271 MB, free: 3.301 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.004969, allocations: 0 / 271 MB, free: 3.301 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.00014/0.005109, allocations: 49.69 kB / 271 MB, free: 3.246 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.005153, allocations: 63.34 kB / 271.1 MB, free: 3.172 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.005229, allocations: 165.9 kB / 271.2 MB, free: 2.992 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.005241, allocations: 29.64 kB / 271.3 MB, free: 2.957 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.005279, allocations: 126.9 kB / 271.4 MB, free: 2.828 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-06/0.005283, allocations: 0 / 271.4 MB, free: 2.828 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.005303, allocations: 23.36 kB / 271.4 MB, free: 2.797 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.005431, allocations: 496.1 kB / 271.9 MB, free: 2.301 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.863e-06/0.005438, allocations: 7.938 kB / 271.9 MB, free: 2.293 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.028e-06/0.005442, allocations: 0 / 271.9 MB, free: 2.293 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.865e-05/0.00548, allocations: 119.2 kB / 272 MB, free: 2.176 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.231e-05/0.005513, allocations: 123.2 kB / 272.1 MB, free: 2.055 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.619e-05/0.005549, allocations: 25.7 kB / 272.2 MB, free: 2.023 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.005592, allocations: 127.2 kB / 272.3 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/0.005624, allocations: 123.1 kB / 272.4 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.218e-05/0.005686, allocations: 242.4 kB / 272.7 MB, free: 1.539 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.341e-05/0.00572, allocations: 123.2 kB / 272.8 MB, free: 1.418 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.195e-05/0.005782, allocations: 246.2 kB / 273 MB, free: 1.176 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.109e-05/0.005833, allocations: 123.2 kB / 273.1 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.005861, allocations: 131.1 kB / 273.3 MB, free: 0.9258 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 9.018e-05/0.005951, allocations: 271.8 kB / 273.5 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.00601, allocations: 53.64 kB / 273.6 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.006038, allocations: 8 kB / 273.6 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.00604, allocations: 4 kB / 273.6 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.006045, allocations: 3.938 kB / 273.6 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.006049, allocations: 0 / 273.6 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.603e-05/0.006105, allocations: 116.6 kB / 273.7 MB, free: 428 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.006108, allocations: 0 / 273.7 MB, free: 428 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.88e-05/0.006187, allocations: 11.98 kB / 273.7 MB, free: 416 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.00619, allocations: 4 kB / 273.7 MB, free: 412 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.006199, allocations: 4 kB / 273.7 MB, free: 408 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.006201, allocations: 0 / 273.7 MB, free: 408 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006202, allocations: 0 / 273.7 MB, free: 408 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.991e-05/0.006282, allocations: 92.27 kB / 273.8 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.006289, allocations: 4 kB / 273.8 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.006299, allocations: 0 / 273.8 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.501e-05/0.006314, allocations: 7.984 kB / 273.8 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-06/0.006318, allocations: 0 / 273.8 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.006324, allocations: 0 / 273.8 MB, free: 280 kB / 250.7 MB Notification: Performance of sorting global known variables: time 4.243e-05/0.006366, allocations: 135.4 kB / 274 MB, free: 144 kB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006366, allocations: 4 kB / 274 MB, free: 140 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001319/0.006498, allocations: 4 kB / 274 MB, free: 136 kB / 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.635e-05/0.006575, allocations: 95.25 kB / 274.1 MB, free: 32 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.381e-05/0.006628, allocations: 7.984 kB / 274.1 MB, free: 24 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.00663, allocations: 3.938 kB / 274.1 MB, free: 20 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.006631, allocations: 4 kB / 274.1 MB, free: 16 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.006863, allocations: 13.44 kB / 274.1 MB, free: 0 / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005795/0.007443, allocations: 133.2 kB / 274.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.862e-05/0.007482, allocations: 55.59 kB / 274.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.267e-05/0.007494, allocations: 4.125 kB / 274.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.007528, allocations: 12.5 kB / 274.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.007529, allocations: 0 / 274.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of Templates: time 0.002033/0.009562, allocations: 435.5 kB / 274.7 MB, free: 15.34 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.6787394140847027]