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.001096/0.001096, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001306/0.001306, allocations: 165 kB / 24.99 MB, free: 8.801 MB / 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.022/1.022, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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 2.305e-06/2.305e-06, allocations: 3.938 kB / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.223e-05/3.454e-05, allocations: 2.312 kB / 273 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003054/0.003088, allocations: 1.541 MB / 274.5 MB, free: 188 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009752/0.004063, allocations: 430.8 kB / 275 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.345e-05/0.004147, allocations: 0 / 275 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.471e-05/0.004182, allocations: 3.938 kB / 275 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.609e-05/0.004268, allocations: 7.938 kB / 275 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.004561, allocations: 31.84 kB / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.004674, allocations: 39.91 kB / 275 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.004784, allocations: 11.92 kB / 275.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.887e-05/0.004873, allocations: 19.98 kB / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.311e-05/0.004916, allocations: 11.98 kB / 275.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.004947, allocations: 4 kB / 275.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.004957, allocations: 0 / 275.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.00498, allocations: 7.938 kB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/0.005035, allocations: 11.98 kB / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.005152, allocations: 31.78 kB / 275.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005155, allocations: 4 kB / 275.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.005156, allocations: 0 / 275.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.005161, allocations: 4 kB / 275.2 MB, free: 15.57 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.0004265/0.005588, allocations: 372.6 kB / 275.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.005637, allocations: 11.98 kB / 275.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.005688, allocations: 8.891 kB / 275.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.005877, allocations: 124.6 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.005889, allocations: 384 / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.0059, allocations: 4.375 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.00621, allocations: 118.2 kB / 275.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.006218, allocations: 192 / 275.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.006227, allocations: 384 / 275.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.006237, allocations: 3.938 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.597e-05/0.006273, allocations: 11.98 kB / 275.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.00639, allocations: 112.6 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.113e-05/0.006482, allocations: 43.05 kB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.006527, allocations: 23.75 kB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.006545, allocations: 0 / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.006573, allocations: 45.33 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.006574, allocations: 0 / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001691/0.006743, allocations: 53.67 kB / 276.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.006785, allocations: 55.34 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.483e-05/0.00687, allocations: 165.9 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.006886, allocations: 29.7 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.00694, allocations: 130.9 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-06/0.006943, allocations: 3.938 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.006969, allocations: 15.38 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.007127, allocations: 0.4884 MB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.125e-06/0.007135, allocations: 7.938 kB / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.029e-06/0.00714, allocations: 4 kB / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.225e-05/0.007182, allocations: 119.2 kB / 277.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.564e-05/0.007218, allocations: 119.2 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.507e-05/0.007283, allocations: 37.7 kB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.223e-05/0.007335, allocations: 126 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.72e-05/0.007382, allocations: 123.1 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.141e-05/0.007474, allocations: 242.4 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.157e-05/0.007515, allocations: 119.2 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004/0.007915, allocations: 250.5 kB / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.934e-05/0.007995, allocations: 127.2 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.008033, allocations: 127.1 kB / 278.3 MB, free: 12.19 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.0001236/0.008157, allocations: 275.8 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.122e-05/0.008248, allocations: 49.69 kB / 278.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.008285, allocations: 8 kB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.008288, allocations: 0 / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.008299, allocations: 3.938 kB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.008304, allocations: 0 / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.66e-05/0.00839, allocations: 116.6 kB / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.008395, allocations: 0 / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.008502, allocations: 8 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.008507, allocations: 0 / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.008518, allocations: 12 kB / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.008523, allocations: 3.984 kB / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.008525, allocations: 3.984 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.008647, allocations: 96.27 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.008657, allocations: 0 / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.008673, allocations: 4 kB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.266e-05/0.008715, allocations: 0 / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-06/0.008719, allocations: 0 / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.008728, allocations: 4 kB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.08e-05/0.008779, allocations: 135.1 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008779, allocations: 4 kB / 279 MB, free: 11.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001373/0.008916, allocations: 7.938 kB / 279 MB, free: 11.39 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 9.166e-05/0.009008, allocations: 91.25 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.952e-05/0.009067, allocations: 8 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.009069, allocations: 3.938 kB / 279.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.12e-07/0.009069, allocations: 0 / 279.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.009372, allocations: 22 kB / 279.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.009687, allocations: 117.1 kB / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.752e-05/0.009734, allocations: 63.34 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.196e-05/0.009746, allocations: 4 kB / 279.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.009774, allocations: 8.5 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of SimCode: time 1.914e-06/0.009776, allocations: 0 / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of Templates: time 0.002816/0.01259, allocations: 421.1 kB / 279.8 MB, free: 10.62 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","",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.974303456954658]