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.001012/0.001012, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.001186/0.001186, allocations: 147 kB / 24.89 MB, free: 8.793 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.9282/0.9282, allocations: 173.4 MB / 201.5 MB, free: 8.289 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 2.414e-06/2.414e-06, allocations: 0 / 268.5 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.907e-05, allocations: 10.75 kB / 268.5 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002929/0.002958, allocations: 1.558 MB / 270.1 MB, free: 8.227 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005722/0.00353, allocations: 417.4 kB / 270.5 MB, free: 7.816 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.00359, allocations: 0 / 270.5 MB, free: 7.816 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.003618, allocations: 7.922 kB / 270.5 MB, free: 7.809 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.348e-05/0.003681, allocations: 5.656 kB / 270.5 MB, free: 7.805 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.003879, allocations: 23.97 kB / 270.5 MB, free: 7.781 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.07e-05/0.00396, allocations: 39.86 kB / 270.6 MB, free: 7.742 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.968e-05/0.004029, allocations: 7.984 kB / 270.6 MB, free: 7.734 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.627e-05/0.004096, allocations: 24.8 kB / 270.6 MB, free: 7.711 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.354e-05/0.004129, allocations: 11.98 kB / 270.6 MB, free: 7.699 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.004147, allocations: 0.75 kB / 270.6 MB, free: 7.699 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.004157, allocations: 4 kB / 270.6 MB, free: 7.695 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.004173, allocations: 16.55 kB / 270.6 MB, free: 7.68 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.904e-05/0.004193, allocations: 8 kB / 270.6 MB, free: 7.672 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.134e-05/0.004274, allocations: 28.56 kB / 270.7 MB, free: 7.645 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.004277, allocations: 0 / 270.7 MB, free: 7.645 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004278, allocations: 2.844 kB / 270.7 MB, free: 7.645 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.004281, allocations: 0 / 270.7 MB, free: 7.645 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.0002648/0.004546, allocations: 248.9 kB / 270.9 MB, free: 7.379 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.004576, allocations: 8.031 kB / 270.9 MB, free: 7.371 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.329e-05/0.004599, allocations: 4.938 kB / 270.9 MB, free: 7.367 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.004721, allocations: 125.7 kB / 271.1 MB, free: 7.219 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-06/0.00473, allocations: 4.375 kB / 271.1 MB, free: 7.215 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.004737, allocations: 5.344 kB / 271.1 MB, free: 7.211 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.004913, allocations: 105 kB / 271.2 MB, free: 7.094 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.004918, allocations: 192 / 271.2 MB, free: 7.094 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.004924, allocations: 384 / 271.2 MB, free: 7.094 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.00493, allocations: 3.938 kB / 271.2 MB, free: 7.09 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.004949, allocations: 4 kB / 271.2 MB, free: 7.086 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.036e-05/0.005009, allocations: 61.03 kB / 271.2 MB, free: 7.012 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.146e-05/0.005061, allocations: 34.56 kB / 271.3 MB, free: 6.969 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.005084, allocations: 16.83 kB / 271.3 MB, free: 6.949 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.005097, allocations: 3.938 kB / 271.3 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.005114, allocations: 34.56 kB / 271.3 MB, free: 6.902 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.005115, allocations: 4 kB / 271.3 MB, free: 6.898 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 9.255e-05/0.005208, allocations: 41.69 kB / 271.4 MB, free: 6.852 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.005241, allocations: 59.41 kB / 271.4 MB, free: 6.781 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.141e-05/0.005292, allocations: 114.7 kB / 271.5 MB, free: 6.656 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.347e-06/0.005301, allocations: 25.7 kB / 271.6 MB, free: 6.625 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.923e-05/0.005321, allocations: 80.14 kB / 271.6 MB, free: 6.543 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-06/0.005322, allocations: 0 / 271.6 MB, free: 6.543 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/0.005338, allocations: 13.72 kB / 271.7 MB, free: 6.523 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.00541, allocations: 326.8 kB / 272 MB, free: 6.195 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-06/0.005412, allocations: 3.938 kB / 272 MB, free: 6.191 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.887e-06/0.005416, allocations: 4 kB / 272 MB, free: 6.188 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.923e-05/0.005435, allocations: 79.28 kB / 272.1 MB, free: 6.109 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.085e-05/0.005456, allocations: 75.28 kB / 272.1 MB, free: 6.035 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.729e-05/0.005493, allocations: 25.7 kB / 272.2 MB, free: 6.004 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.005519, allocations: 87.22 kB / 272.2 MB, free: 5.918 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.005538, allocations: 79.22 kB / 272.3 MB, free: 5.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.596e-05/0.005574, allocations: 150.6 kB / 272.5 MB, free: 5.691 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.844e-05/0.005592, allocations: 83.27 kB / 272.5 MB, free: 5.609 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.141e-05/0.005624, allocations: 158.5 kB / 272.7 MB, free: 5.453 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.123e-05/0.005665, allocations: 79.22 kB / 272.8 MB, free: 5.375 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.005683, allocations: 83.22 kB / 272.9 MB, free: 5.293 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 6.476e-05/0.005748, allocations: 185.1 kB / 273 MB, free: 5.102 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.005795, allocations: 41.69 kB / 273.1 MB, free: 5.055 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.00582, allocations: 8 kB / 273.1 MB, free: 5.043 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.005822, allocations: 0 / 273.1 MB, free: 5.043 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.005823, allocations: 0 / 273.1 MB, free: 5.043 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.005827, allocations: 3.984 kB / 273.1 MB, free: 5.039 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.491e-05/0.005872, allocations: 65.84 kB / 273.2 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.005874, allocations: 0 / 273.2 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.956e-05/0.005944, allocations: 11.98 kB / 273.2 MB, free: 4.945 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.005947, allocations: 4 kB / 273.2 MB, free: 4.941 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.005952, allocations: 8 kB / 273.2 MB, free: 4.934 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.005954, allocations: 0 / 273.2 MB, free: 4.934 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005954, allocations: 0 / 273.2 MB, free: 4.934 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.967e-05/0.005994, allocations: 57.02 kB / 273.2 MB, free: 4.859 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-06/0.006002, allocations: 7.938 kB / 273.2 MB, free: 4.852 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.006012, allocations: 11.98 kB / 273.3 MB, free: 4.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.258e-05/0.006025, allocations: 0 / 273.3 MB, free: 4.84 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-06/0.006027, allocations: 0 / 273.3 MB, free: 4.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.006031, allocations: 4 kB / 273.3 MB, free: 4.836 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.276e-05/0.006044, allocations: 8.859 kB / 273.3 MB, free: 4.824 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006044, allocations: 0 / 273.3 MB, free: 4.824 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001099/0.006154, allocations: 8 kB / 273.3 MB, free: 4.816 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 7.865e-05/0.006233, allocations: 76.41 kB / 273.3 MB, free: 4.734 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.915e-05/0.006272, allocations: 11.94 kB / 273.4 MB, free: 4.723 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.006275, allocations: 0 / 273.4 MB, free: 4.723 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.006275, allocations: 0 / 273.4 MB, free: 4.723 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.006424, allocations: 21.09 kB / 273.4 MB, free: 4.699 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002024/0.006627, allocations: 115.6 kB / 273.5 MB, free: 4.562 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.82e-05/0.006655, allocations: 63.36 kB / 273.6 MB, free: 4.48 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.769e-06/0.006665, allocations: 7.922 kB / 273.6 MB, free: 4.473 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.006699, allocations: 47.38 kB / 273.6 MB, free: 4.426 MB / 250.7 MB Notification: Performance of SimCode: time 6.72e-07/0.0067, allocations: 4 kB / 273.6 MB, free: 4.422 MB / 250.7 MB Notification: Performance of Templates: time 0.001876/0.008576, allocations: 432.7 kB / 274 MB, free: 4.008 MB / 250.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 240] 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","",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.4167993366718292]