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.001542/0.001542, allocations: 113.7 kB / 19.17 MB, free: 3.871 MB / 14.72 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.001762/0.001762, allocations: 205 kB / 22.12 MB, free: 0.9219 MB / 14.72 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.489/1.489, allocations: 230.2 MB / 255.2 MB, free: 15.23 MB / 206.1 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 0.002061/0.002061, allocations: 71.83 kB / 374.6 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1027, allocations: 53.32 MB / 427.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003163/0.1059, allocations: 1.496 MB / 429.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009963/0.1069, allocations: 450.9 kB / 429.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.616e-05/0.107, allocations: 0 / 429.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.107, allocations: 7.938 kB / 429.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.695e-05/0.1071, allocations: 11.92 kB / 429.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.1074, allocations: 19.92 kB / 429.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.1075, allocations: 39.89 kB / 429.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1076, allocations: 8 kB / 429.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.885e-05/0.1076, allocations: 15.92 kB / 429.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/0.1077, allocations: 15.94 kB / 430 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.1077, allocations: 0 / 430 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.1077, allocations: 4 kB / 430 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.1077, allocations: 11.92 kB / 430 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.1078, allocations: 11.94 kB / 430 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.1079, allocations: 47.75 kB / 430 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1079, allocations: 0 / 430 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1079, allocations: 11.88 kB / 430 MB, free: 2.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1079, allocations: 0 / 430 MB, free: 2.277 MB / 350.1 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.000571/0.1085, allocations: 350.3 kB / 430.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1085, allocations: 12.02 kB / 430.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.1086, allocations: 8.891 kB / 430.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.1089, allocations: 176.3 kB / 430.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.1089, allocations: 4.375 kB / 430.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.1089, allocations: 4.375 kB / 430.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/0.1094, allocations: 139.5 kB / 430.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1094, allocations: 4 kB / 430.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.1094, allocations: 0 / 430.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1094, allocations: 0 / 430.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.1096, allocations: 35.97 kB / 430.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.1098, allocations: 157.7 kB / 430.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.1101, allocations: 82.52 kB / 431 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.1102, allocations: 32.89 kB / 431 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.1102, allocations: 4 kB / 431 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.1103, allocations: 38.44 kB / 431.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1103, allocations: 0 / 431.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004504/0.1107, allocations: 101.6 kB / 431.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.1108, allocations: 51.41 kB / 431.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.1109, allocations: 113.8 kB / 431.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.1109, allocations: 29.7 kB / 431.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.111, allocations: 84.14 kB / 431.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.111, allocations: 0 / 431.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.111, allocations: 17.72 kB / 431.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1112, allocations: 318.8 kB / 431.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/0.1112, allocations: 8 kB / 431.8 MB, free: 332 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-05/0.1113, allocations: 27.38 kB / 431.8 MB, free: 292 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.264e-05/0.1113, allocations: 35.38 kB / 431.8 MB, free: 244 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1113, allocations: 0 / 431.8 MB, free: 244 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.483e-05/0.1114, allocations: 57.58 kB / 431.9 MB, free: 180 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1114, allocations: 11.94 kB / 431.9 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1114, allocations: 0 / 431.9 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1115, allocations: 0 / 431.9 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.74e-05/0.1115, allocations: 8 kB / 431.9 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1115, allocations: 7.922 kB / 431.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.1115, allocations: 3.938 kB / 431.9 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.1116, allocations: 8.125 kB / 431.9 MB, free: 140 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 9.503e-05/0.1117, allocations: 117.8 kB / 432 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.1119, allocations: 77.55 kB / 432.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.1119, allocations: 11.91 kB / 432.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1119, allocations: 3.938 kB / 432.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1119, allocations: 0 / 432.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1119, allocations: 0 / 432.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.1121, allocations: 157.7 kB / 432.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1121, allocations: 8 kB / 432.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.928e-05/0.1121, allocations: 11.98 kB / 432.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.1122, allocations: 7.938 kB / 432.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1122, allocations: 0 / 432.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1122, allocations: 0 / 432.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1122, allocations: 0 / 432.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.1124, allocations: 105 kB / 432.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.1125, allocations: 92.98 kB / 432.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.1125, allocations: 0 / 432.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.024e-05/0.1125, allocations: 4 kB / 432.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-06/0.1125, allocations: 0 / 432.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1125, allocations: 384 / 432.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.737e-05/0.1126, allocations: 91.27 kB / 432.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1126, allocations: 0 / 432.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001897/0.1128, allocations: 4 kB / 432.6 MB, free: 15.34 MB / 366.1 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.0001208/0.1129, allocations: 99.78 kB / 432.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.1131, allocations: 31.91 kB / 432.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1131, allocations: 0 / 432.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.1131, allocations: 0 / 432.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.1134, allocations: 40.12 kB / 432.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.1138, allocations: 147.5 kB / 432.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.1141, allocations: 0.6845 MB / 433.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.1142, allocations: 11.38 kB / 433.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1142, allocations: 0 / 433.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Templates: time 0.002425/0.1166, allocations: 0.6121 MB / 434.2 MB, free: 13.66 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/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: 6.661023725057021]