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.00122/0.00122, allocations: 87.67 kB / 21.2 MB, free: 3.363 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.001649/0.001649, allocations: 156.5 kB / 24.55 MB, free: 8 kB / 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 0.9838/0.9838, allocations: 177 MB / 204.8 MB, free: 5.586 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 1.754e-06/1.754e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.105e-05, allocations: 5.125 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002361/0.002392, allocations: 1.533 MB / 274.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006638/0.003055, allocations: 438.8 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.003122, allocations: 0 / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/0.003154, allocations: 3.938 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.629e-05/0.00323, allocations: 7.938 kB / 274.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.003491, allocations: 31.84 kB / 274.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.282e-05/0.003584, allocations: 39.84 kB / 275 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.003685, allocations: 11.98 kB / 275 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.165e-05/0.003757, allocations: 23.92 kB / 275 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.661e-05/0.003793, allocations: 7.984 kB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.003812, allocations: 0 / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.385e-06/0.00382, allocations: 4 kB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.003839, allocations: 8 kB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.003871, allocations: 15.92 kB / 275 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.528e-05/0.003966, allocations: 27.84 kB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.003969, allocations: 4 kB / 275.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.003971, allocations: 0 / 275.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.003976, allocations: 0 / 275.1 MB, free: 15.28 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.00037/0.004346, allocations: 368.6 kB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.004385, allocations: 15.98 kB / 275.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.004426, allocations: 12.89 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.004574, allocations: 120.6 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.004583, allocations: 8.312 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.004596, allocations: 4.359 kB / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.004833, allocations: 122.2 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.004841, allocations: 192 / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.00485, allocations: 384 / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.004857, allocations: 3.938 kB / 275.7 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.925e-05/0.004886, allocations: 7.984 kB / 275.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.607e-05/0.004982, allocations: 116.6 kB / 275.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.091e-05/0.005053, allocations: 43.05 kB / 275.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.265e-05/0.005086, allocations: 19.75 kB / 275.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.005104, allocations: 7.938 kB / 275.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.005125, allocations: 37.39 kB / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.005126, allocations: 0 / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001467/0.005273, allocations: 53.69 kB / 276 MB, free: 14.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.005311, allocations: 55.34 kB / 276 MB, free: 14.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.005385, allocations: 165.9 kB / 276.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.138e-06/0.005394, allocations: 25.7 kB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.00543, allocations: 130.9 kB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-06/0.005433, allocations: 4 kB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.908e-05/0.005453, allocations: 15.38 kB / 276.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.005561, allocations: 0.4884 MB / 276.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-06/0.005566, allocations: 3.938 kB / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-06/0.00557, allocations: 0 / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.846e-05/0.005599, allocations: 123.2 kB / 277 MB, free: 13.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.528e-05/0.005624, allocations: 119.2 kB / 277.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.66e-05/0.005671, allocations: 37.7 kB / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.00571, allocations: 127.2 kB / 277.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.012e-05/0.00574, allocations: 123.1 kB / 277.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.132e-05/0.005801, allocations: 242.4 kB / 277.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.876e-05/0.00583, allocations: 119.2 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-05/0.005886, allocations: 250.5 kB / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.005934, allocations: 123.2 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.005962, allocations: 131.1 kB / 278.2 MB, free: 11.89 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 8.668e-05/0.006049, allocations: 275.8 kB / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.006115, allocations: 45.69 kB / 278.5 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.006146, allocations: 8 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.006148, allocations: 3.938 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.006153, allocations: 3.938 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.006157, allocations: 240 / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.282e-05/0.00621, allocations: 120.6 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.006213, allocations: 0 / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.343e-05/0.006296, allocations: 12 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.006301, allocations: 3.984 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.006308, allocations: 4 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.006312, allocations: 3.984 kB / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.006313, allocations: 7.984 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.142e-05/0.006395, allocations: 92.27 kB / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-06/0.006402, allocations: 4 kB / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.006413, allocations: 0 / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.511e-05/0.006428, allocations: 4 kB / 278.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-06/0.006431, allocations: 0 / 278.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.006436, allocations: 4 kB / 278.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.892e-05/0.006475, allocations: 135.1 kB / 278.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006475, allocations: 0 / 278.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001316/0.006607, allocations: 0 / 278.9 MB, free: 11.11 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 8.737e-05/0.006694, allocations: 99.25 kB / 279 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.248e-05/0.006747, allocations: 7.938 kB / 279.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006748, allocations: 0 / 279.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.00675, allocations: 4 kB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.006968, allocations: 17.14 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.007216, allocations: 125.1 kB / 279.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.214e-05/0.007248, allocations: 59.34 kB / 279.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.366e-06/0.007256, allocations: 0 / 279.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.007285, allocations: 12.5 kB / 279.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.007286, allocations: 0 / 279.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of Templates: time 0.002038/0.009324, allocations: 414.6 kB / 279.7 MB, free: 10.32 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.9052526857703924]