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.001377/0.001377, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.002628/0.002628, allocations: 164.6 kB / 24.5 MB, free: 3.449 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.498/1.498, allocations: 177.1 MB / 204.7 MB, free: 8.863 MB / 190.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.001936/0.001936, allocations: 64.48 kB / 325.5 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1177, allocations: 53.38 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002757/0.1205, allocations: 1.49 MB / 380.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001877/0.1207, allocations: 39.84 kB / 380.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.85e-05/0.1207, allocations: 4 kB / 380.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.089e-05/0.1207, allocations: 7.922 kB / 380.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.726e-05/0.1208, allocations: 3.938 kB / 380.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.121, allocations: 27.91 kB / 380.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.455e-05/0.1211, allocations: 35.92 kB / 380.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.751e-05/0.1212, allocations: 3.984 kB / 380.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.122e-05/0.1213, allocations: 15.94 kB / 380.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.145e-05/0.1213, allocations: 15.92 kB / 380.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.1213, allocations: 7.984 kB / 380.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.1213, allocations: 8 kB / 380.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.1213, allocations: 7.984 kB / 380.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.1214, allocations: 11.94 kB / 380.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.1215, allocations: 47.75 kB / 380.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1215, allocations: 0 / 380.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1215, allocations: 0 / 380.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.1215, allocations: 0 / 380.6 MB, free: 13.75 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.0004836/0.122, allocations: 278.3 kB / 380.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.122, allocations: 11.98 kB / 380.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.1221, allocations: 8.891 kB / 380.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.1223, allocations: 130.4 kB / 381.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.1223, allocations: 4.375 kB / 381.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.1223, allocations: 4.375 kB / 381.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005615/0.1229, allocations: 151.8 kB / 381.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1229, allocations: 192 / 381.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1229, allocations: 3.938 kB / 381.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1229, allocations: 0 / 381.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.1232, allocations: 55.88 kB / 381.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.1233, allocations: 101.3 kB / 381.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.1236, allocations: 86.5 kB / 381.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.1238, allocations: 40.91 kB / 381.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.1238, allocations: 3.938 kB / 381.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1238, allocations: 30.56 kB / 381.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.1238, allocations: 0 / 381.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004941/0.1243, allocations: 125.6 kB / 381.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.1243, allocations: 59.41 kB / 381.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/0.1244, allocations: 109.8 kB / 381.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.1244, allocations: 25.7 kB / 381.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.1245, allocations: 80.14 kB / 381.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.1245, allocations: 11.95 kB / 381.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.1245, allocations: 13.72 kB / 381.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1247, allocations: 322.8 kB / 382.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.1247, allocations: 4 kB / 382.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.253e-05/0.1247, allocations: 27.44 kB / 382.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/0.1248, allocations: 35.38 kB / 382.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1248, allocations: 0 / 382.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.971e-05/0.1248, allocations: 69.56 kB / 382.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1249, allocations: 10.34 kB / 382.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1249, allocations: 0 / 382.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1249, allocations: 3.938 kB / 382.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.428e-05/0.1249, allocations: 16.11 kB / 382.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.125, allocations: 0 / 382.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.368e-05/0.125, allocations: 4 kB / 382.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.125, allocations: 0 / 382.4 MB, free: 11.76 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 8.859e-05/0.1251, allocations: 117.9 kB / 382.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/0.1254, allocations: 93.53 kB / 382.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.1254, allocations: 11.98 kB / 382.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1254, allocations: 3.938 kB / 382.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1254, allocations: 0 / 382.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1254, allocations: 0 / 382.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.415e-05/0.1255, allocations: 105.3 kB / 382.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1255, allocations: 3.938 kB / 382.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.866e-05/0.1256, allocations: 15.98 kB / 382.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1256, allocations: 0 / 382.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.1256, allocations: 0 / 382.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1256, allocations: 0 / 382.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1256, allocations: 7.938 kB / 382.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.1259, allocations: 125 kB / 382.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-06/0.1259, allocations: 4 kB / 382.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.126, allocations: 4 kB / 382.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/0.126, allocations: 7.984 kB / 382.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-06/0.126, allocations: 3.938 kB / 382.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.126, allocations: 7.984 kB / 382.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.768e-05/0.1261, allocations: 83.28 kB / 383 MB, free: 11.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1261, allocations: 0 / 383 MB, free: 11.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001849/0.1263, allocations: 4 kB / 383 MB, free: 11.1 MB / 350.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.0001081/0.1264, allocations: 99.25 kB / 383.1 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.1266, allocations: 47.89 kB / 383.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1266, allocations: 3.938 kB / 383.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.1266, allocations: 0 / 383.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.1269, allocations: 32.55 kB / 383.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.1273, allocations: 137.2 kB / 383.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.973e-05/0.1274, allocations: 67.33 kB / 383.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.092e-05/0.1274, allocations: 8.25 kB / 383.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.1274, allocations: 12.44 kB / 383.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1274, allocations: 0 / 383.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Templates: time 0.002747/0.1302, allocations: 0.5764 MB / 384 MB, free: 10.09 MB / 350.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 -s ida -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: 4.423383075976744]