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.00149/0.00149, allocations: 82.59 kB / 21.42 MB, free: 3.07 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.001246/0.001246, allocations: 170.1 kB / 24.82 MB, free: 9.277 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 1.007/1.007, allocations: 177 MB / 205.1 MB, free: 5.457 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 2.275e-06/2.275e-06, allocations: 0 / 273.3 MB, free: 1.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/3.064e-05, allocations: 7.719 kB / 273.3 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.005857/0.005888, allocations: 1.522 MB / 274.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007471/0.006635, allocations: 438.9 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.604e-05/0.006711, allocations: 3.938 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.959e-05/0.00674, allocations: 0 / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.423e-05/0.006815, allocations: 7.875 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.01015, allocations: 31.84 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.01026, allocations: 35.92 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.01037, allocations: 11.92 kB / 275.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.658e-05/0.01045, allocations: 19.98 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.358e-05/0.0105, allocations: 19.97 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.01052, allocations: 4 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.056e-06/0.01052, allocations: 0 / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.01054, allocations: 7.938 kB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.01057, allocations: 11.98 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.01067, allocations: 23.86 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.01067, allocations: 0 / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.01068, allocations: 0 / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.01068, allocations: 4 kB / 275.5 MB, free: 15.04 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.0003763/0.01106, allocations: 368.6 kB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.0111, allocations: 19.98 kB / 275.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.01114, allocations: 8.891 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.01128, allocations: 132.5 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.01129, allocations: 384 / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.0113, allocations: 4.375 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.01151, allocations: 98.23 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.01151, allocations: 4.188 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.01152, allocations: 8.375 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.01153, allocations: 3.938 kB / 276.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.383e-05/0.01155, allocations: 7.938 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.997e-05/0.01165, allocations: 101.2 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.448e-05/0.01172, allocations: 39.05 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/0.01175, allocations: 19.7 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.01177, allocations: 4 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.0118, allocations: 33.39 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.0118, allocations: 0 / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001368/0.01194, allocations: 49.67 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.01198, allocations: 63.39 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.502e-05/0.01206, allocations: 165.9 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.01208, allocations: 25.7 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.01212, allocations: 138.9 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.01212, allocations: 3.938 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.01214, allocations: 15.38 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.01227, allocations: 496.1 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-06/0.01227, allocations: 4 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-06/0.01228, allocations: 0 / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.214e-05/0.01231, allocations: 119.2 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.192e-05/0.01234, allocations: 119.2 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.987e-05/0.0124, allocations: 49.64 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.01244, allocations: 130.3 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-05/0.01248, allocations: 119.2 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.99e-05/0.01255, allocations: 246.3 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.283e-05/0.01258, allocations: 119.2 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003157/0.01574, allocations: 238.7 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.565e-05/0.01582, allocations: 135.1 kB / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.01586, allocations: 119.2 kB / 278.6 MB, free: 11.7 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.0001127/0.01597, allocations: 275.8 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.687e-05/0.01606, allocations: 45.62 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.01609, allocations: 16 kB / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01609, allocations: 0 / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.01609, allocations: 0 / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.872e-06/0.0161, allocations: 7.922 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.529e-05/0.01618, allocations: 101.2 kB / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.01618, allocations: 0 / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.854e-05/0.01627, allocations: 11.98 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.01627, allocations: 0 / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.01628, allocations: 0 / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.01628, allocations: 3.984 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.01628, allocations: 0 / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.848e-05/0.01634, allocations: 80.34 kB / 279.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.225e-06/0.01635, allocations: 0 / 279.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.01636, allocations: 3.984 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.095e-05/0.01638, allocations: 4 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-06/0.01638, allocations: 3.938 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.01639, allocations: 0 / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.447e-05/0.01643, allocations: 123.2 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01643, allocations: 0 / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002111/0.01664, allocations: 7.938 kB / 279.3 MB, free: 10.96 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 0.0001185/0.01676, allocations: 103.2 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.728e-05/0.01682, allocations: 8 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01682, allocations: 0 / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.01682, allocations: 0 / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.01707, allocations: 24.52 kB / 279.4 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.01733, allocations: 125.4 kB / 279.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.629e-05/0.01736, allocations: 59.34 kB / 279.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.077e-05/0.01737, allocations: 0 / 279.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.01742, allocations: 66.2 kB / 279.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01742, allocations: 8 kB / 279.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of Templates: time 0.005575/0.023, allocations: 444.3 kB / 280.1 MB, free: 10.08 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.7548633590340614]