Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002432/0.002432, allocations: 91.61 kB / 20.97 MB, free: 3.309 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002146/0.002146, allocations: 156.9 kB / 24.27 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.587/1.587, allocations: 177 MB / 204.5 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.944e-05/3.111e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003277/0.003308, allocations: 1.502 MB / 273.7 MB, free: 312 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009881/0.004296, allocations: 422.9 kB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.689e-05/0.004373, allocations: 7.938 kB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.004403, allocations: 3.984 kB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.083e-05/0.004484, allocations: 11.88 kB / 274.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.00473, allocations: 27.89 kB / 274.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.004835, allocations: 43.8 kB / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.803e-05/0.004933, allocations: 11.98 kB / 274.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.915e-05/0.005022, allocations: 19.92 kB / 274.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.086e-05/0.005063, allocations: 11.98 kB / 274.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.005083, allocations: 4 kB / 274.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.005094, allocations: 4 kB / 274.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.005125, allocations: 7.984 kB / 274.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.005162, allocations: 7.938 kB / 274.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.005269, allocations: 31.95 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.005272, allocations: 0 / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005273, allocations: 0 / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.005278, allocations: 4 kB / 274.3 MB, free: 15.69 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.0005411/0.005819, allocations: 380.2 kB / 274.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.00586, allocations: 11.98 kB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.005913, allocations: 8.891 kB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.006137, allocations: 132.4 kB / 274.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.006152, allocations: 4.375 kB / 274.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.006165, allocations: 4.375 kB / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/0.00655, allocations: 125.5 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.006559, allocations: 192 / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.006568, allocations: 384 / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.006575, allocations: 3.938 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.006693, allocations: 23.98 kB / 275 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.006863, allocations: 120.6 kB / 275.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.0071, allocations: 71.03 kB / 275.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.37e-05/0.007194, allocations: 35.75 kB / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.00722, allocations: 0 / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.007258, allocations: 33.39 kB / 275.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.007259, allocations: 0 / 275.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.000331/0.00759, allocations: 89.59 kB / 275.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.007654, allocations: 55.34 kB / 275.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.007817, allocations: 173.9 kB / 275.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.007836, allocations: 25.7 kB / 275.6 MB, free: 14.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.468e-05/0.007921, allocations: 130.9 kB / 275.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.007923, allocations: 0 / 275.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.00797, allocations: 23.38 kB / 275.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002739/0.008244, allocations: 492.1 kB / 276.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.339e-06/0.008249, allocations: 0 / 276.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.436e-06/0.008252, allocations: 0 / 276.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.056e-05/0.008333, allocations: 123.2 kB / 276.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.605e-05/0.008399, allocations: 123.2 kB / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.382e-05/0.008472, allocations: 41.64 kB / 276.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.387e-05/0.008556, allocations: 131.2 kB / 276.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-05/0.008624, allocations: 119.2 kB / 276.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000139/0.008763, allocations: 238.4 kB / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.039e-05/0.008833, allocations: 131.1 kB / 277.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001359/0.008969, allocations: 242.6 kB / 277.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.009076, allocations: 127.1 kB / 277.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-05/0.009142, allocations: 127.2 kB / 277.6 MB, free: 12.2 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.0001761/0.009319, allocations: 275.8 kB / 277.9 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.009475, allocations: 61.69 kB / 277.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.009509, allocations: 16.09 kB / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.009514, allocations: 3.984 kB / 277.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.009521, allocations: 7.938 kB / 278 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.009523, allocations: 0 / 278 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.009644, allocations: 120.6 kB / 278.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.009647, allocations: 0 / 278.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.111e-05/0.009738, allocations: 8 kB / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.009741, allocations: 0 / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-06/0.009748, allocations: 0 / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.009751, allocations: 0 / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.009755, allocations: 3.984 kB / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.009981, allocations: 112.3 kB / 278.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.673e-05/0.009997, allocations: 7.938 kB / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.01001, allocations: 3.984 kB / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.098e-05/0.01004, allocations: 4 kB / 278.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-06/0.01005, allocations: 4 kB / 278.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.01006, allocations: 0 / 278.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.311e-05/0.01015, allocations: 135.1 kB / 278.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01015, allocations: 0 / 278.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002028/0.01035, allocations: 4 kB / 278.3 MB, free: 11.37 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.0001363/0.01049, allocations: 103.1 kB / 278.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.0106, allocations: 15.98 kB / 278.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.0106, allocations: 4 kB / 278.5 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.01061, allocations: 4 kB / 278.5 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.01093, allocations: 29.14 kB / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.01126, allocations: 125 kB / 278.6 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.931e-05/0.01133, allocations: 63.34 kB / 278.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.07e-05/0.01135, allocations: 4 kB / 278.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.01138, allocations: 8.5 kB / 278.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01138, allocations: 0 / 278.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of Templates: time 0.003387/0.01477, allocations: 421.6 kB / 279.1 MB, free: 10.56 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.5051870150491595]