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.001423/0.001423, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001715/0.001715, allocations: 210.8 kB / 24.48 MB, free: 3.934 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.434/1.434, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.001914/0.001914, allocations: 63.89 kB / 379 MB, free: 2.281 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2349, allocations: 53.41 MB / 432.4 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002784/0.2377, allocations: 1.472 MB / 433.9 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001903/0.2379, allocations: 43.83 kB / 433.9 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.2379, allocations: 0 / 433.9 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.238, allocations: 3.938 kB / 433.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.704e-05/0.238, allocations: 7.875 kB / 433.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.2382, allocations: 23.97 kB / 433.9 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.148e-05/0.2383, allocations: 39.92 kB / 434 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.2384, allocations: 7.984 kB / 434 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.778e-05/0.2385, allocations: 19.92 kB / 434 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.855e-05/0.2385, allocations: 11.92 kB / 434 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.2386, allocations: 4 kB / 434 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.427e-05/0.2386, allocations: 4 kB / 434 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.2386, allocations: 11.98 kB / 434 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.2386, allocations: 11.92 kB / 434.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.425e-05/0.2387, allocations: 46.72 kB / 434.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2387, allocations: 4 kB / 434.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2387, allocations: 4 kB / 434.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.2387, allocations: 0 / 434.1 MB, free: 4.777 MB / 334.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.0004924/0.2392, allocations: 274 kB / 434.4 MB, free: 4.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2393, allocations: 11.98 kB / 434.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.2393, allocations: 8.891 kB / 434.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.2395, allocations: 130.4 kB / 434.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.2395, allocations: 384 / 434.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.2395, allocations: 8.375 kB / 434.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.2401, allocations: 155.7 kB / 434.7 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2401, allocations: 8.156 kB / 434.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.2401, allocations: 7.938 kB / 434.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2401, allocations: 0 / 434.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.2403, allocations: 43.95 kB / 434.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001224/0.2405, allocations: 109.2 kB / 434.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.2408, allocations: 78.53 kB / 434.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.2409, allocations: 44.81 kB / 435 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.2409, allocations: 0 / 435 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.2409, allocations: 34.5 kB / 435 MB, free: 3.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.2409, allocations: 4 kB / 435 MB, free: 3.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004516/0.2414, allocations: 117.5 kB / 435.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.2414, allocations: 59.41 kB / 435.2 MB, free: 3.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.2415, allocations: 109.8 kB / 435.3 MB, free: 3.453 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.2416, allocations: 25.7 kB / 435.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.2416, allocations: 84.14 kB / 435.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.2416, allocations: 7.953 kB / 435.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.2416, allocations: 13.72 kB / 435.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2418, allocations: 318.8 kB / 435.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.2418, allocations: 8 kB / 435.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.2418, allocations: 31.38 kB / 435.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.019e-05/0.2419, allocations: 47.36 kB / 435.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2419, allocations: 0 / 435.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.334e-05/0.242, allocations: 53.64 kB / 435.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.242, allocations: 8 kB / 435.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.242, allocations: 3.984 kB / 435.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.242, allocations: 8.062 kB / 435.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.794e-05/0.242, allocations: 8 kB / 435.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.2421, allocations: 4 kB / 435.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.2421, allocations: 0 / 435.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.2421, allocations: 4 kB / 435.9 MB, free: 2.785 MB / 334.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 8.295e-05/0.2422, allocations: 113.8 kB / 436 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002735/0.2424, allocations: 97.52 kB / 436.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.2425, allocations: 8 kB / 436.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2425, allocations: 3.938 kB / 436.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.2425, allocations: 0 / 436.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2425, allocations: 4 kB / 436.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.447e-05/0.2425, allocations: 105.2 kB / 436.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2425, allocations: 0 / 436.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.065e-05/0.2426, allocations: 15.98 kB / 436.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2426, allocations: 0 / 436.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.2426, allocations: 4.234 kB / 436.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2427, allocations: 0 / 436.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.2427, allocations: 7.922 kB / 436.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.243, allocations: 117 kB / 436.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.776e-06/0.243, allocations: 4 kB / 436.4 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.243, allocations: 7.984 kB / 436.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.081e-05/0.243, allocations: 8.125 kB / 436.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-06/0.2431, allocations: 11.92 kB / 436.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.2431, allocations: 4 kB / 436.4 MB, free: 2.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.401e-05/0.2431, allocations: 83.28 kB / 436.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2431, allocations: 0 / 436.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001897/0.2433, allocations: 8 kB / 436.5 MB, free: 2.121 MB / 334.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 9.504e-05/0.2434, allocations: 95.23 kB / 436.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.2436, allocations: 43.91 kB / 436.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.2436, allocations: 256 / 436.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.2436, allocations: 4 kB / 436.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.2439, allocations: 36 kB / 436.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003596/0.2443, allocations: 163.2 kB / 436.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.317e-05/0.2443, allocations: 67.34 kB / 436.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.2444, allocations: 7.438 kB / 436.9 MB, free: 1.652 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2444, allocations: 0 / 436.9 MB, free: 1.652 MB / 334.1 MB Notification: Performance of Templates: time 0.00205/0.2464, allocations: 0.7018 MB / 437.6 MB, free: 0.957 MB / 334.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.730971187353134]