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.001726/0.001726, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001726/0.001726, allocations: 156.9 kB / 24.27 MB, free: 172 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.521/1.521, allocations: 177 MB / 204.4 MB, free: 5.613 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.513e-06/1.513e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.609e-05/3.76e-05, allocations: 5.266 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003013/0.00305, allocations: 1.49 MB / 273.7 MB, free: 288 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008984/0.003949, allocations: 430.9 kB / 274.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.387e-05/0.004013, allocations: 3.938 kB / 274.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.00404, allocations: 0 / 274.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.363e-05/0.004114, allocations: 11.88 kB / 274.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.00437, allocations: 35.83 kB / 274.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.828e-05/0.004468, allocations: 31.86 kB / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.8e-05/0.004566, allocations: 8 kB / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.362e-05/0.00465, allocations: 23.92 kB / 274.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.098e-05/0.004691, allocations: 11.98 kB / 274.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.004712, allocations: 4 kB / 274.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-06/0.004721, allocations: 0 / 274.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.004747, allocations: 11.98 kB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.004791, allocations: 15.92 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.004892, allocations: 27.95 kB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.004894, allocations: 0 / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.004895, allocations: 0 / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.0049, allocations: 0 / 274.3 MB, free: 15.67 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.0006551/0.005555, allocations: 278.2 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.005613, allocations: 15.98 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/0.005685, allocations: 8.891 kB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.005982, allocations: 133.6 kB / 274.7 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.005996, allocations: 384 / 274.7 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.00601, allocations: 4.375 kB / 274.7 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005621/0.006572, allocations: 135.8 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.006583, allocations: 192 / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.006598, allocations: 4.375 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.00661, allocations: 3.938 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.006794, allocations: 39.89 kB / 274.9 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.007001, allocations: 105.3 kB / 275 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.007318, allocations: 82.55 kB / 275.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.007429, allocations: 24.89 kB / 275.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.00746, allocations: 7.984 kB / 275.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.007502, allocations: 30.56 kB / 275.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.007503, allocations: 0 / 275.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004093/0.007912, allocations: 97.58 kB / 275.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.007977, allocations: 55.34 kB / 275.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.008107, allocations: 117.8 kB / 275.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.008131, allocations: 25.7 kB / 275.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.008186, allocations: 80.14 kB / 275.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/0.00819, allocations: 0 / 275.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.008215, allocations: 9.719 kB / 275.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.008392, allocations: 322.8 kB / 275.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.869e-06/0.008397, allocations: 0 / 275.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-06/0.0084, allocations: 0 / 275.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.501e-05/0.008475, allocations: 75.28 kB / 275.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-05/0.008514, allocations: 75.28 kB / 276 MB, free: 13.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.289e-05/0.008577, allocations: 41.78 kB / 276 MB, free: 13.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.365e-05/0.008631, allocations: 83.28 kB / 276.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-05/0.008671, allocations: 79.28 kB / 276.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.705e-05/0.008768, allocations: 154.5 kB / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.483e-05/0.008813, allocations: 83.25 kB / 276.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-05/0.008903, allocations: 158.8 kB / 276.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.635e-05/0.008999, allocations: 83.22 kB / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.009039, allocations: 75.28 kB / 276.7 MB, free: 13.05 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.0001275/0.009166, allocations: 185.1 kB / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/0.009384, allocations: 81.59 kB / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/0.009415, allocations: 11.94 kB / 277 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.009417, allocations: 0 / 277 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.009432, allocations: 3.938 kB / 277 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.009437, allocations: 7.984 kB / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.771e-05/0.009535, allocations: 101.3 kB / 277.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.009538, allocations: 0 / 277.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.009658, allocations: 11.98 kB / 277.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.009661, allocations: 0 / 277.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.009668, allocations: 0 / 277.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.00967, allocations: 0 / 277.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.009673, allocations: 7.984 kB / 277.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.00994, allocations: 112.9 kB / 277.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.009952, allocations: 7.938 kB / 277.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.00997, allocations: 4 kB / 277.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.959e-05/0.01002, allocations: 7.984 kB / 277.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-06/0.01002, allocations: 0 / 277.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.01003, allocations: 0 / 277.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.523e-05/0.01009, allocations: 91.22 kB / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01009, allocations: 0 / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002401/0.01033, allocations: 4 kB / 277.4 MB, free: 12.36 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.0001947/0.01053, allocations: 95.25 kB / 277.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.01068, allocations: 23.97 kB / 277.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.01068, allocations: 0 / 277.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.51e-07/0.01068, allocations: 0 / 277.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.01106, allocations: 37.06 kB / 277.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.01141, allocations: 123.4 kB / 277.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.01153, allocations: 67.34 kB / 277.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.2e-05/0.01155, allocations: 0 / 277.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.01158, allocations: 8.5 kB / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of SimCode: time 3.61e-07/0.01158, allocations: 0 / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of Templates: time 0.002914/0.0145, allocations: 414.9 kB / 278.1 MB, free: 11.55 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 480] 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.29242553608492]