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.001638/0.001638, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001974/0.001974, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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 1.418/1.418, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001471/0.001471, allocations: 47.92 kB / 379 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2476, allocations: 53.35 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003005/0.2506, allocations: 1.506 MB / 433.9 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008884/0.2515, allocations: 462.7 kB / 434.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.2516, allocations: 0 / 434.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.873e-05/0.2516, allocations: 3.938 kB / 434.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.997e-05/0.2517, allocations: 11.92 kB / 434.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.2519, allocations: 31.16 kB / 434.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.252, allocations: 39.86 kB / 434.4 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2522, allocations: 4 kB / 434.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.906e-05/0.2522, allocations: 23.91 kB / 434.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.389e-05/0.2523, allocations: 15.92 kB / 434.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.2523, allocations: 4 kB / 434.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.2523, allocations: 4 kB / 434.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.2523, allocations: 0 / 434.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.2524, allocations: 19.88 kB / 434.5 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.2525, allocations: 39.48 kB / 434.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2525, allocations: 4 kB / 434.5 MB, free: 4.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2525, allocations: 0 / 434.5 MB, free: 4.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.2525, allocations: 0 / 434.5 MB, free: 4.77 MB / 334.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.0005203/0.253, allocations: 279.8 kB / 434.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.253, allocations: 8.031 kB / 434.8 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.2531, allocations: 12.89 kB / 434.8 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.2533, allocations: 118.5 kB / 435 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.2533, allocations: 8.375 kB / 435 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.2534, allocations: 384 / 435 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004727/0.2538, allocations: 143.5 kB / 435.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2538, allocations: 0 / 435.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.2539, allocations: 0 / 435.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2539, allocations: 4 kB / 435.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.254, allocations: 31.97 kB / 435.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.2542, allocations: 132.7 kB / 435.3 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.2544, allocations: 74.52 kB / 435.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.2546, allocations: 36.91 kB / 435.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.2546, allocations: 4 kB / 435.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.2546, allocations: 38.44 kB / 435.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2546, allocations: 0 / 435.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003437/0.255, allocations: 97.62 kB / 435.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.255, allocations: 55.41 kB / 435.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.904e-05/0.2551, allocations: 109.8 kB / 435.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.2551, allocations: 29.64 kB / 435.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.2552, allocations: 92.12 kB / 435.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.303e-06/0.2552, allocations: 0 / 435.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.2552, allocations: 21.66 kB / 435.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2553, allocations: 310.8 kB / 436.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.467e-05/0.2553, allocations: 11.94 kB / 436.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.214e-05/0.2554, allocations: 31.42 kB / 436.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.398e-05/0.2554, allocations: 31.38 kB / 436.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2554, allocations: 0 / 436.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.342e-05/0.2555, allocations: 61.58 kB / 436.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.2555, allocations: 11.94 kB / 436.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2555, allocations: 0 / 436.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.2555, allocations: 0 / 436.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.378e-05/0.2556, allocations: 8 kB / 436.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.2556, allocations: 0 / 436.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.862e-05/0.2556, allocations: 0 / 436.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.2556, allocations: 4 kB / 436.3 MB, free: 2.828 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.455e-05/0.2557, allocations: 125.9 kB / 436.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.2559, allocations: 73.59 kB / 436.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.2559, allocations: 12 kB / 436.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2559, allocations: 0 / 436.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2559, allocations: 0 / 436.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2559, allocations: 0 / 436.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.2561, allocations: 136.6 kB / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2561, allocations: 0 / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/0.2561, allocations: 15.98 kB / 436.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2561, allocations: 7.938 kB / 436.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.2561, allocations: 0 / 436.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2561, allocations: 0 / 436.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2561, allocations: 0 / 436.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.2564, allocations: 105 kB / 436.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.2564, allocations: 15.89 kB / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.2564, allocations: 0 / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.466e-05/0.2564, allocations: 7.984 kB / 436.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-06/0.2564, allocations: 0 / 436.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.2564, allocations: 0 / 436.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.152e-05/0.2565, allocations: 95.2 kB / 436.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2565, allocations: 0 / 436.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001819/0.2567, allocations: 4 kB / 436.9 MB, free: 2.156 MB / 334.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: 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.0001053/0.2568, allocations: 95.25 kB / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.257, allocations: 35.91 kB / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.257, allocations: 0 / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.257, allocations: 0 / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.2573, allocations: 36.47 kB / 437 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.2576, allocations: 155.2 kB / 437.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.2579, allocations: 0.6848 MB / 437.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.2579, allocations: 7.438 kB / 437.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2579, allocations: 0 / 437.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of Templates: time 0.002191/0.2601, allocations: 0.6096 MB / 438.5 MB, free: 488 kB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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: 6.520490003051236]