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.001098/0.001098, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001729/0.002827, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001173/0.001173, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001795/0.002968, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.04/1.04, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09508/1.135, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.362e-06/1.362e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.991e-05, allocations: 6.25 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002709/0.002729, allocations: 1.587 MB / 246.1 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000704/0.003433, allocations: 447.5 kB / 246.6 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.821e-05/0.003491, allocations: 0 / 246.6 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.003516, allocations: 7.938 kB / 246.6 MB, free: 12.26 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.242e-05/0.003559, allocations: 11.92 kB / 246.6 MB, free: 12.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.003713, allocations: 27.91 kB / 246.6 MB, free: 12.22 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.003813, allocations: 35.86 kB / 246.6 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.977e-05/0.003893, allocations: 4 kB / 246.6 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.113e-05/0.003984, allocations: 23.98 kB / 246.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.468e-05/0.004029, allocations: 15.92 kB / 246.7 MB, free: 12.14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.004053, allocations: 4 kB / 246.7 MB, free: 12.14 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.004063, allocations: 0 / 246.7 MB, free: 12.14 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.004087, allocations: 7.984 kB / 246.7 MB, free: 12.13 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.004117, allocations: 11.94 kB / 246.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.011e-05/0.004207, allocations: 23.92 kB / 246.7 MB, free: 12.1 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.306e-05/0.00422, allocations: 3.984 kB / 246.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004221, allocations: 3.938 kB / 246.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.004234, allocations: 0 / 246.7 MB, free: 12.09 MB / 250.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.0003699/0.004604, allocations: 248.6 kB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.004637, allocations: 11.97 kB / 247 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.004672, allocations: 12.92 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.004834, allocations: 117.7 kB / 247.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.004842, allocations: 384 / 247.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-06/0.004852, allocations: 4.375 kB / 247.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.005062, allocations: 112.5 kB / 247.2 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.005069, allocations: 192 / 247.2 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.005077, allocations: 4.375 kB / 247.2 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.005083, allocations: 3.938 kB / 247.2 MB, free: 11.52 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.516e-05/0.005108, allocations: 4 kB / 247.2 MB, free: 11.52 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.738e-05/0.005186, allocations: 57.05 kB / 247.3 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.716e-05/0.005253, allocations: 30.56 kB / 247.3 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.005277, allocations: 12.86 kB / 247.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.005301, allocations: 7.984 kB / 247.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.005325, allocations: 34.55 kB / 247.4 MB, free: 11.34 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.005326, allocations: 0 / 247.4 MB, free: 11.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001253/0.005451, allocations: 53.61 kB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.0055, allocations: 55.41 kB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.963e-05/0.005569, allocations: 110.7 kB / 247.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.00558, allocations: 25.7 kB / 247.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.005608, allocations: 84.12 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.599e-06/0.005613, allocations: 4 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.005634, allocations: 13.72 kB / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.005732, allocations: 314.8 kB / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-06/0.005737, allocations: 0 / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.062e-06/0.005743, allocations: 4 kB / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.531e-05/0.005768, allocations: 79.27 kB / 248.1 MB, free: 10.56 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.521e-05/0.005793, allocations: 83.22 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.215e-05/0.005845, allocations: 29.7 kB / 248.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/0.005879, allocations: 82.88 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-05/0.005907, allocations: 75.28 kB / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.863e-05/0.005966, allocations: 162.5 kB / 248.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.825e-05/0.005994, allocations: 79.28 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.832e-05/0.006042, allocations: 162.5 kB / 248.8 MB, free: 9.891 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.939e-05/0.006112, allocations: 87.2 kB / 248.9 MB, free: 9.805 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.006134, allocations: 75.28 kB / 248.9 MB, free: 9.73 MB / 250.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.369e-05/0.006218, allocations: 185.1 kB / 249.1 MB, free: 9.539 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.006288, allocations: 49.62 kB / 249.2 MB, free: 9.484 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.006315, allocations: 4 kB / 249.2 MB, free: 9.484 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.006317, allocations: 0 / 249.2 MB, free: 9.484 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.006319, allocations: 0 / 249.2 MB, free: 9.484 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.006323, allocations: 0 / 249.2 MB, free: 9.484 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.161e-05/0.006385, allocations: 69.83 kB / 249.2 MB, free: 9.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.00639, allocations: 8 kB / 249.2 MB, free: 9.391 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.869e-05/0.006489, allocations: 12 kB / 249.3 MB, free: 9.379 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-06/0.006498, allocations: 3.953 kB / 249.3 MB, free: 9.375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.006502, allocations: 3.984 kB / 249.3 MB, free: 9.371 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.006512, allocations: 0 / 249.3 MB, free: 9.371 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.006514, allocations: 0 / 249.3 MB, free: 9.371 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.006516, allocations: 4 kB / 249.3 MB, free: 9.367 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.492e-05/0.006571, allocations: 57.02 kB / 249.3 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.006582, allocations: 0 / 249.3 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.611e-05/0.006608, allocations: 7.984 kB / 249.3 MB, free: 9.285 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-06/0.006611, allocations: 0 / 249.3 MB, free: 9.285 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.006617, allocations: 4 kB / 249.3 MB, free: 9.281 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.153e-05/0.006639, allocations: 12.84 kB / 249.3 MB, free: 9.266 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006639, allocations: 0 / 249.3 MB, free: 9.266 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001826/0.006821, allocations: 8 kB / 249.4 MB, free: 9.258 MB / 250.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 9.099e-05/0.006912, allocations: 76.42 kB / 249.4 MB, free: 9.172 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.574e-05/0.006968, allocations: 11.98 kB / 249.4 MB, free: 9.16 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.006971, allocations: 0 / 249.4 MB, free: 9.16 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.1e-07/0.006972, allocations: 0 / 249.4 MB, free: 9.16 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.00717, allocations: 29.03 kB / 249.5 MB, free: 9.129 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.007594, allocations: 123.3 kB / 249.6 MB, free: 8.984 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.773e-05/0.007632, allocations: 55.36 kB / 249.6 MB, free: 8.91 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.314e-05/0.007645, allocations: 0 / 249.6 MB, free: 8.91 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.007691, allocations: 55.36 kB / 249.7 MB, free: 8.855 MB / 250.7 MB Notification: Performance of SimCode: time 6.71e-07/0.007691, allocations: 0 / 249.7 MB, free: 8.855 MB / 250.7 MB Notification: Performance of Templates: time 0.002361/0.01005, allocations: 442.8 kB / 250.1 MB, free: 8.43 MB / 250.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 -ignoreHideResult -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.537669299170375]