Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.001709/0.001709, allocations: 123.4 kB / 19.18 MB, free: 3.852 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.002071/0.002071, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.598/1.598, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 75.81 kB / 374.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1022, allocations: 53.3 MB / 427.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002919/0.1052, allocations: 1.48 MB / 429.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002002/0.1054, allocations: 39.84 kB / 429.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.789e-05/0.1054, allocations: 0 / 429.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.1054, allocations: 3.938 kB / 429.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.355e-05/0.1055, allocations: 7.938 kB / 429.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.1058, allocations: 27.97 kB / 429.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.1059, allocations: 39.91 kB / 429.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.106, allocations: 7.984 kB / 429.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.669e-05/0.106, allocations: 15.94 kB / 429.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.789e-05/0.1061, allocations: 19.91 kB / 429.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.1061, allocations: 4 kB / 429.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.1061, allocations: 7.938 kB / 429.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.1061, allocations: 4 kB / 429.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.292e-05/0.1062, allocations: 27.84 kB / 429.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.1063, allocations: 39.83 kB / 429.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1063, allocations: 0 / 429.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1063, allocations: 0 / 429.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1063, allocations: 0 / 429.6 MB, free: 2.758 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.0005434/0.1068, allocations: 351.4 kB / 429.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1069, allocations: 12.03 kB / 429.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.1069, allocations: 4.891 kB / 429.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.1072, allocations: 188.2 kB / 430.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.1072, allocations: 4.359 kB / 430.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.1072, allocations: 12.38 kB / 430.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.1078, allocations: 151.8 kB / 430.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1078, allocations: 192 / 430.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1078, allocations: 7.938 kB / 430.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1078, allocations: 0 / 430.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/0.108, allocations: 47.88 kB / 430.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.1082, allocations: 165.7 kB / 430.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.1085, allocations: 78.52 kB / 430.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.1086, allocations: 40.89 kB / 430.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.1087, allocations: 0 / 430.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.1087, allocations: 30.56 kB / 430.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.1087, allocations: 0 / 430.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004714/0.1092, allocations: 121.5 kB / 430.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.1092, allocations: 55.41 kB / 430.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.1093, allocations: 110.1 kB / 430.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1094, allocations: 25.7 kB / 430.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.1094, allocations: 84.14 kB / 431 MB, free: 1.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1094, allocations: 7.938 kB / 431 MB, free: 1.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.1095, allocations: 17.72 kB / 431 MB, free: 1.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1096, allocations: 314.8 kB / 431.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.1097, allocations: 7.984 kB / 431.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.766e-05/0.1097, allocations: 31.44 kB / 431.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.064e-05/0.1097, allocations: 35.38 kB / 431.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1097, allocations: 3.938 kB / 431.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.67e-05/0.1098, allocations: 65.56 kB / 431.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1099, allocations: 8 kB / 431.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1099, allocations: 3.938 kB / 431.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1099, allocations: 192 / 431.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.704e-05/0.1099, allocations: 8 kB / 431.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1099, allocations: 12.05 kB / 431.5 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.032e-05/0.11, allocations: 3.938 kB / 431.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.11, allocations: 4 kB / 431.5 MB, free: 0.5312 MB / 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: 2 ($CLKPRE.ramp.counter,ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.112e-05/0.1101, allocations: 118 kB / 431.6 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002999/0.1104, allocations: 89.53 kB / 431.7 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.1104, allocations: 15.84 kB / 431.8 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1104, allocations: 3.984 kB / 431.8 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1104, allocations: 0 / 431.8 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1104, allocations: 0 / 431.8 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.1105, allocations: 157.7 kB / 431.9 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1105, allocations: 128 / 431.9 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.1107, allocations: 19.98 kB / 431.9 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1107, allocations: 0 / 431.9 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1107, allocations: 7.938 kB / 431.9 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1107, allocations: 0 / 431.9 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1107, allocations: 0 / 431.9 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.111, allocations: 121 kB / 432.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.111, allocations: 77.11 kB / 432.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.1111, allocations: 7.938 kB / 432.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.919e-05/0.1111, allocations: 11.98 kB / 432.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-06/0.1111, allocations: 0 / 432.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.1111, allocations: 7.984 kB / 432.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.097e-05/0.1112, allocations: 83.28 kB / 432.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1112, allocations: 0 / 432.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001986/0.1114, allocations: 8 kB / 432.2 MB, free: 15.7 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: 1 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * 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.0001235/0.1115, allocations: 95.25 kB / 432.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.1117, allocations: 47.83 kB / 432.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1117, allocations: 256 / 432.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-07/0.1117, allocations: 4 kB / 432.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1121, allocations: 42.92 kB / 432.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/0.1125, allocations: 159.2 kB / 432.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.1128, allocations: 0.6846 MB / 433.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.1129, allocations: 7.438 kB / 433.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1129, allocations: 0 / 433.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of Templates: time 0.002247/0.1151, allocations: 0.7041 MB / 434 MB, free: 13.9 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.663319356041029]