Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009609/0.0009609, allocations: 79.75 kB / 21.18 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009567/0.0009567, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9248/0.9248, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.383e-05, allocations: 2.312 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.005348/0.005372, allocations: 1.544 MB / 274.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006942/0.006066, allocations: 430.9 kB / 274.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.451e-05/0.006141, allocations: 3.938 kB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.591e-05/0.006177, allocations: 11.98 kB / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.511e-05/0.006252, allocations: 11.86 kB / 275 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.006515, allocations: 27.86 kB / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.857e-05/0.006603, allocations: 39.84 kB / 275 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.094e-05/0.006694, allocations: 4 kB / 275 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.257e-05/0.006767, allocations: 27.91 kB / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.639e-05/0.006803, allocations: 8 kB / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.006827, allocations: 4 kB / 275.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.689e-06/0.006836, allocations: 4 kB / 275.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.006854, allocations: 3.984 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.284e-05/0.006887, allocations: 19.92 kB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.163e-05/0.006979, allocations: 27.91 kB / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.006981, allocations: 0 / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.006982, allocations: 0 / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.006987, allocations: 0 / 275.1 MB, free: 15.37 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.003401/0.01039, allocations: 368.6 kB / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.01043, allocations: 8.031 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.01047, allocations: 12.88 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.01062, allocations: 120.5 kB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.01063, allocations: 8.359 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.01064, allocations: 12.31 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.01089, allocations: 110.2 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.01089, allocations: 192 / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.0109, allocations: 384 / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.01091, allocations: 7.938 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.084e-05/0.01094, allocations: 7.938 kB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.01112, allocations: 116.6 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.393e-05/0.0112, allocations: 47.05 kB / 275.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.005e-05/0.01124, allocations: 19.72 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.01126, allocations: 0 / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.01128, allocations: 37.39 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.01128, allocations: 0 / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001629/0.01145, allocations: 53.67 kB / 276 MB, free: 14.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.01149, allocations: 55.34 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.127e-05/0.01157, allocations: 165.9 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.01158, allocations: 25.7 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.01162, allocations: 138.9 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-06/0.01163, allocations: 4 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.138e-05/0.01165, allocations: 15.38 kB / 276.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.01178, allocations: 496.1 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.65e-06/0.01178, allocations: 0 / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.346e-06/0.01179, allocations: 0 / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.595e-05/0.01182, allocations: 123.2 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.904e-05/0.01185, allocations: 119.2 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.338e-05/0.0119, allocations: 41.64 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.01195, allocations: 123.2 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-05/0.01198, allocations: 127.2 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000241/0.01222, allocations: 246.3 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.471e-05/0.01226, allocations: 123.2 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-05/0.01232, allocations: 246.3 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.029e-05/0.01239, allocations: 123.3 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.01243, allocations: 127.2 kB / 278.3 MB, free: 11.99 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 0.0001056/0.01254, allocations: 275.8 kB / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.59e-05/0.0126, allocations: 53.61 kB / 278.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.01264, allocations: 4 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01264, allocations: 0 / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.01264, allocations: 7.875 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.01265, allocations: 3.984 kB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.806e-05/0.01272, allocations: 124.6 kB / 278.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.01272, allocations: 0 / 278.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.281e-05/0.0128, allocations: 7.984 kB / 278.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.01281, allocations: 4 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.01281, allocations: 0 / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01282, allocations: 0 / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01282, allocations: 0 / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.615e-05/0.01291, allocations: 96.27 kB / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.01292, allocations: 0 / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.01293, allocations: 4 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.863e-05/0.01295, allocations: 3.984 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-06/0.01296, allocations: 4 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.01297, allocations: 4 kB / 278.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.891e-05/0.01301, allocations: 131.1 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01301, allocations: 0 / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.003225/0.01624, allocations: 4 kB / 279 MB, free: 11.2 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 7.935e-05/0.01632, allocations: 99.23 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.245e-05/0.01637, allocations: 4 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01637, allocations: 0 / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.01637, allocations: 0 / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.01662, allocations: 29.08 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002371/0.01686, allocations: 121.1 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.565e-05/0.01689, allocations: 59.34 kB / 279.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.327e-06/0.0169, allocations: 0 / 279.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.01693, allocations: 8.5 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01693, allocations: 0 / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of Templates: time 0.005179/0.02211, allocations: 445.1 kB / 279.8 MB, free: 10.4 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.571005784906447]