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.0009118/0.0009118, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.00104/0.00104, allocations: 162.2 kB / 24.92 MB, free: 8.77 MB / 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.9701/0.9701, allocations: 177 MB / 205.2 MB, free: 5.453 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.483e-06/1.483e-06, allocations: 0 / 273.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.532e-05, allocations: 2.312 kB / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002515/0.00253, allocations: 1.537 MB / 274.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007118/0.003242, allocations: 446.8 kB / 275.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.322e-05/0.003305, allocations: 3.938 kB / 275.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.003336, allocations: 3.938 kB / 275.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.39e-05/0.00341, allocations: 3.938 kB / 275.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.003632, allocations: 31.84 kB / 275.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.613e-05/0.003728, allocations: 35.86 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.336e-05/0.003811, allocations: 11.98 kB / 275.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.271e-05/0.003894, allocations: 15.98 kB / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.003e-05/0.003934, allocations: 15.98 kB / 275.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.003958, allocations: 0 / 275.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.003968, allocations: 7.938 kB / 275.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.003991, allocations: 7.984 kB / 275.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.004017, allocations: 11.98 kB / 275.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.916e-05/0.004116, allocations: 23.86 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004118, allocations: 0 / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004119, allocations: 0 / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.004124, allocations: 0 / 275.5 MB, free: 15.06 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.0003466/0.00447, allocations: 244.9 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.004513, allocations: 15.98 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.004548, allocations: 16.88 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.004698, allocations: 121.7 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.004706, allocations: 384 / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.004718, allocations: 4.375 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.004908, allocations: 92.58 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.004914, allocations: 4.188 kB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.004922, allocations: 12.36 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.004929, allocations: 3.938 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.977e-05/0.004958, allocations: 11.92 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.732e-05/0.005056, allocations: 57.05 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.53e-05/0.005121, allocations: 30.55 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.005144, allocations: 12.86 kB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.005159, allocations: 0 / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.005187, allocations: 34.56 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.005187, allocations: 0 / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001273/0.005315, allocations: 49.62 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.005364, allocations: 55.41 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.954e-05/0.005444, allocations: 118.7 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.005459, allocations: 25.7 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.005491, allocations: 88.06 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.005493, allocations: 0 / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.005519, allocations: 13.72 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.005635, allocations: 318.8 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-06/0.005639, allocations: 0 / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-06/0.005645, allocations: 4 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.005677, allocations: 79.28 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.874e-05/0.005706, allocations: 79.28 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.224e-05/0.005768, allocations: 33.64 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/0.005809, allocations: 83.28 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/0.005837, allocations: 79.27 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.106e-05/0.005898, allocations: 154.5 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.549e-05/0.005933, allocations: 79.28 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.205e-05/0.005975, allocations: 150.9 kB / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.551e-05/0.006041, allocations: 87.16 kB / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.006063, allocations: 75.28 kB / 277.7 MB, free: 12.71 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.205e-05/0.006145, allocations: 189.1 kB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.006198, allocations: 41.62 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.006223, allocations: 15.98 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.006225, allocations: 0 / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.006226, allocations: 0 / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.006229, allocations: 0 / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.135e-05/0.00629, allocations: 73.73 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.006293, allocations: 0 / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.024e-05/0.006364, allocations: 15.98 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.006369, allocations: 0 / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.006373, allocations: 0 / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.006375, allocations: 0 / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.006377, allocations: 4 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.418e-05/0.006421, allocations: 61.3 kB / 278.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.006431, allocations: 11.91 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-06/0.00644, allocations: 0 / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.795e-05/0.006458, allocations: 4 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-06/0.006461, allocations: 0 / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.006465, allocations: 0 / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.09e-05/0.006486, allocations: 20.83 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006486, allocations: 3.938 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001968/0.006682, allocations: 4 kB / 278.2 MB, free: 12.21 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.103e-05/0.006763, allocations: 80.42 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.092e-05/0.006804, allocations: 4 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.006807, allocations: 0 / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.006807, allocations: 4 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.006973, allocations: 24.95 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002264/0.007199, allocations: 115.4 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.369e-05/0.007243, allocations: 59.34 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.936e-06/0.007252, allocations: 0 / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.603e-05/0.007298, allocations: 51.38 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007299, allocations: 4 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of Templates: time 0.00207/0.009369, allocations: 447.1 kB / 278.9 MB, free: 11.39 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.6341329249553382]