Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007793/0.0007793, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003124/0.003124, allocations: 145 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8195/0.8195, allocations: 173.4 MB / 201.2 MB, free: 9.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 3.938 kB / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.503e-05, allocations: 10.28 kB / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.00155/0.001565, allocations: 1.465 MB / 321.2 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004369/0.002001, allocations: 395 kB / 321.5 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.413e-05/0.002056, allocations: 4 kB / 321.6 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.47e-05/0.00208, allocations: 3.938 kB / 321.6 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.399e-05/0.002134, allocations: 7.922 kB / 321.6 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.002319, allocations: 35.89 kB / 321.6 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.417e-05/0.002394, allocations: 35.8 kB / 321.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.368e-05/0.002477, allocations: 8 kB / 321.6 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.552e-05/0.002533, allocations: 27.86 kB / 321.7 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.021e-05/0.002563, allocations: 11.97 kB / 321.7 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.002585, allocations: 4 kB / 321.7 MB, free: 3.848 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.236e-06/0.002594, allocations: 8 kB / 321.7 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.00261, allocations: 11.92 kB / 321.7 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.002635, allocations: 8 kB / 321.7 MB, free: 3.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.406e-05/0.002709, allocations: 27.95 kB / 321.7 MB, free: 3.793 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.002711, allocations: 3.938 kB / 321.7 MB, free: 3.789 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002711, allocations: 0 / 321.7 MB, free: 3.789 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.002715, allocations: 0 / 321.7 MB, free: 3.789 MB / 282.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.0003241/0.003039, allocations: 286.2 kB / 322 MB, free: 3.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.00307, allocations: 8.922 kB / 322 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.748e-05/0.003098, allocations: 12.88 kB / 322 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.003228, allocations: 113.8 kB / 322.2 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.003239, allocations: 8.359 kB / 322.2 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.003247, allocations: 4.375 kB / 322.2 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.00351, allocations: 131.8 kB / 322.3 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.003518, allocations: 4.188 kB / 322.3 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.003526, allocations: 384 / 322.3 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.003531, allocations: 7.922 kB / 322.3 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.404e-05/0.003615, allocations: 35.97 kB / 322.3 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.27e-05/0.003698, allocations: 113.3 kB / 322.5 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.003835, allocations: 74.45 kB / 322.5 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.003888, allocations: 40.91 kB / 322.6 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.003904, allocations: 0 / 322.6 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.003923, allocations: 34.56 kB / 322.6 MB, free: 2.816 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.21e-07/0.003923, allocations: 0 / 322.6 MB, free: 2.816 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002/0.004123, allocations: 89.64 kB / 322.7 MB, free: 2.723 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.004159, allocations: 63.28 kB / 322.7 MB, free: 2.648 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.008e-05/0.004209, allocations: 105.8 kB / 322.9 MB, free: 2.535 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.004217, allocations: 25.7 kB / 322.9 MB, free: 2.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.267e-05/0.00424, allocations: 88.14 kB / 323 MB, free: 2.414 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-06/0.004245, allocations: 7.984 kB / 323 MB, free: 2.406 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.503e-05/0.00426, allocations: 9.719 kB / 323 MB, free: 2.391 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.384e-05/0.004324, allocations: 310.8 kB / 323.3 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-06/0.004328, allocations: 0 / 323.3 MB, free: 2.078 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-06/0.00433, allocations: 0 / 323.3 MB, free: 2.078 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.799e-05/0.004348, allocations: 79.28 kB / 323.4 MB, free: 2 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/0.004363, allocations: 75.28 kB / 323.4 MB, free: 1.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.015e-05/0.004393, allocations: 37.7 kB / 323.5 MB, free: 1.883 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.004417, allocations: 83.22 kB / 323.6 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.004435, allocations: 83.22 kB / 323.6 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.73e-05/0.004472, allocations: 154.5 kB / 323.8 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.562e-05/0.004488, allocations: 87.16 kB / 323.9 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.872e-05/0.004517, allocations: 154.6 kB / 324 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.951e-05/0.004556, allocations: 79.3 kB / 324.1 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.004572, allocations: 83.22 kB / 324.2 MB, free: 1.168 MB / 282.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 5.825e-05/0.00463, allocations: 185.1 kB / 324.4 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.623e-05/0.004726, allocations: 77.61 kB / 324.4 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.021e-05/0.004746, allocations: 4.234 kB / 324.4 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.00475, allocations: 11.98 kB / 324.5 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.004755, allocations: 7.922 kB / 324.5 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.004758, allocations: 0 / 324.5 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.162e-05/0.004799, allocations: 101.3 kB / 324.6 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.004803, allocations: 3.984 kB / 324.6 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.425e-05/0.004867, allocations: 8 kB / 324.6 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.004869, allocations: 3.938 kB / 324.6 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.004875, allocations: 4 kB / 324.6 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.004877, allocations: 0 / 324.6 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.004878, allocations: 7.984 kB / 324.6 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.005212, allocations: 109 kB / 324.7 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-06/0.005217, allocations: 4 kB / 324.7 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.904e-06/0.005225, allocations: 0 / 324.7 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.969e-05/0.005245, allocations: 7.984 kB / 324.7 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-06/0.005247, allocations: 0 / 324.7 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.00525, allocations: 0 / 324.7 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.622e-05/0.005277, allocations: 91.22 kB / 324.8 MB, free: 492 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005277, allocations: 0 / 324.8 MB, free: 492 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001306/0.005407, allocations: 0 / 324.8 MB, free: 492 kB / 282.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 6.077e-05/0.005468, allocations: 107.2 kB / 324.9 MB, free: 376 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.039e-05/0.005539, allocations: 27.92 kB / 324.9 MB, free: 348 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.00554, allocations: 0 / 324.9 MB, free: 348 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.00554, allocations: 0 / 324.9 MB, free: 348 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.005738, allocations: 35.2 kB / 325 MB, free: 316 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001866/0.005924, allocations: 134.7 kB / 325.1 MB, free: 148 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.201e-05/0.005956, allocations: 67.34 kB / 325.2 MB, free: 60 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.005977, allocations: 16.48 kB / 325.2 MB, free: 44 kB / 282.7 MB Notification: Performance of SimCode: time 3.6e-07/0.005978, allocations: 0 / 325.2 MB, free: 44 kB / 282.7 MB Notification: Performance of Templates: time 0.00119/0.007168, allocations: 0.583 MB / 325.8 MB, free: 15.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 3.725180586799979]