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.002621/0.002621, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.003037/0.003037, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 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 1.528/1.528, allocations: 173.4 MB / 200.8 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 178] 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.014e-06/2.014e-06, allocations: 0 / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.166e-05, allocations: 2.312 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002938/0.00297, allocations: 1.487 MB / 268.8 MB, free: 5.234 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009323/0.003902, allocations: 406.8 kB / 269.2 MB, free: 4.832 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.576e-05/0.003958, allocations: 0 / 269.2 MB, free: 4.832 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.003986, allocations: 11.88 kB / 269.2 MB, free: 4.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.004053, allocations: 0 / 269.2 MB, free: 4.82 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.00428, allocations: 27.91 kB / 269.3 MB, free: 4.793 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.375e-05/0.004374, allocations: 35.86 kB / 269.3 MB, free: 4.758 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.145e-05/0.004466, allocations: 15.91 kB / 269.3 MB, free: 4.742 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.046e-05/0.004556, allocations: 27.92 kB / 269.3 MB, free: 4.715 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.827e-05/0.004594, allocations: 11.98 kB / 269.3 MB, free: 4.703 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.004617, allocations: 4 kB / 269.3 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.647e-05/0.004633, allocations: 4 kB / 269.4 MB, free: 4.695 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.004648, allocations: 0 / 269.4 MB, free: 4.695 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.914e-05/0.004687, allocations: 15.92 kB / 269.4 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.004795, allocations: 35.94 kB / 269.4 MB, free: 4.645 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.004798, allocations: 0 / 269.4 MB, free: 4.645 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004799, allocations: 0 / 269.4 MB, free: 4.645 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.004803, allocations: 0 / 269.4 MB, free: 4.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.0005302/0.005333, allocations: 372.2 kB / 269.8 MB, free: 4.246 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.005372, allocations: 16.86 kB / 269.8 MB, free: 4.23 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.03e-05/0.005422, allocations: 20.81 kB / 269.8 MB, free: 4.211 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.005618, allocations: 116.6 kB / 269.9 MB, free: 4.07 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.005631, allocations: 4.375 kB / 269.9 MB, free: 4.066 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.005648, allocations: 12.36 kB / 269.9 MB, free: 4.055 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.00603, allocations: 121.5 kB / 270.1 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.006039, allocations: 192 / 270.1 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.006048, allocations: 4.375 kB / 270.1 MB, free: 3.918 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.006055, allocations: 7.875 kB / 270.1 MB, free: 3.91 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.006176, allocations: 27.97 kB / 270.1 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.006336, allocations: 120.6 kB / 270.2 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.006563, allocations: 71.03 kB / 270.3 MB, free: 3.648 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.989e-05/0.006653, allocations: 31.75 kB / 270.3 MB, free: 3.613 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.006675, allocations: 4 kB / 270.3 MB, free: 3.609 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.00671, allocations: 33.39 kB / 270.3 MB, free: 3.566 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.006711, allocations: 0 / 270.3 MB, free: 3.566 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002988/0.00701, allocations: 85.59 kB / 270.4 MB, free: 3.477 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.007064, allocations: 59.34 kB / 270.5 MB, free: 3.406 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.007201, allocations: 169.9 kB / 270.7 MB, free: 3.223 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.007222, allocations: 29.7 kB / 270.7 MB, free: 3.188 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.777e-05/0.0073, allocations: 130.9 kB / 270.8 MB, free: 3.055 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.007302, allocations: 0 / 270.8 MB, free: 3.055 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.007338, allocations: 15.38 kB / 270.8 MB, free: 3.031 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002527/0.007591, allocations: 0.4923 MB / 271.3 MB, free: 2.527 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-06/0.007596, allocations: 0 / 271.3 MB, free: 2.527 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.615e-06/0.007599, allocations: 0 / 271.3 MB, free: 2.527 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.979e-05/0.007658, allocations: 119.2 kB / 271.4 MB, free: 2.41 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.386e-05/0.007722, allocations: 123.1 kB / 271.6 MB, free: 2.289 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.681e-05/0.007779, allocations: 29.7 kB / 271.6 MB, free: 2.254 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.3e-05/0.007852, allocations: 127.2 kB / 271.7 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.075e-05/0.007913, allocations: 119.2 kB / 271.8 MB, free: 2.012 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001315/0.008044, allocations: 246.3 kB / 272.1 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.008105, allocations: 123.2 kB / 272.2 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001209/0.008226, allocations: 250.2 kB / 272.4 MB, free: 1.402 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.008338, allocations: 123.2 kB / 272.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.795e-05/0.008396, allocations: 119.2 kB / 272.7 MB, free: 1.164 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 0.0001694/0.008565, allocations: 279.8 kB / 272.9 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.008729, allocations: 77.5 kB / 273 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.008761, allocations: 4 kB / 273 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.008763, allocations: 0 / 273 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.008769, allocations: 3.938 kB / 273 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.008772, allocations: 4 kB / 273 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.00888, allocations: 120.6 kB / 273.1 MB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.008883, allocations: 4 kB / 273.1 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.905e-05/0.008972, allocations: 8 kB / 273.2 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.008979, allocations: 3.984 kB / 273.2 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.008986, allocations: 0 / 273.2 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.008989, allocations: 0 / 273.2 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.008989, allocations: 0 / 273.2 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.009207, allocations: 116.2 kB / 273.3 MB, free: 484 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-06/0.009215, allocations: 0 / 273.3 MB, free: 484 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.00923, allocations: 8 kB / 273.3 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.242e-05/0.009262, allocations: 0 / 273.3 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-06/0.009265, allocations: 4 kB / 273.3 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.009273, allocations: 4 kB / 273.3 MB, free: 468 kB / 250.7 MB Notification: Performance of sorting global known variables: time 8.474e-05/0.009358, allocations: 135.1 kB / 273.4 MB, free: 332 kB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009358, allocations: 0 / 273.4 MB, free: 332 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002049/0.009563, allocations: 4 kB / 273.4 MB, free: 328 kB / 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 0.0001126/0.009676, allocations: 95.25 kB / 273.5 MB, free: 224 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.009785, allocations: 19.98 kB / 273.5 MB, free: 204 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.009786, allocations: 0 / 273.5 MB, free: 204 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.009786, allocations: 0 / 273.5 MB, free: 204 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.01008, allocations: 33.62 kB / 273.6 MB, free: 168 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.01039, allocations: 125.3 kB / 273.7 MB, free: 16 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.588e-05/0.01048, allocations: 67.33 kB / 273.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.031e-05/0.01049, allocations: 4 kB / 273.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.01052, allocations: 8.5 kB / 273.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01052, allocations: 0 / 273.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of Templates: time 0.003063/0.01358, allocations: 429.8 kB / 274.2 MB, free: 15.51 MB / 266.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 -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","/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: 4.271203681011684]