Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.0009026/0.0009026, allocations: 80.8 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.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.001717/0.001717, allocations: 169.9 kB / 24.91 MB, free: 9.184 MB / 18.57 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 0.972/0.972, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2735/0.2735, allocations: 32.81 MB / 294.6 MB, free: 1.168 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 323.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.247e-05, allocations: 6.969 kB / 323.4 MB, free: 9.566 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002341/0.002363, allocations: 1.804 MB / 325.2 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.003503, allocations: 1.005 MB / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.003573, allocations: 0 / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.003829, allocations: 51.64 kB / 326.2 MB, free: 6.688 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.004057, allocations: 87.55 kB / 326.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.00422, allocations: 83.59 kB / 326.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.004379, allocations: 107.6 kB / 326.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.691e-05/0.004456, allocations: 9.359 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.472e-05/0.004541, allocations: 55.78 kB / 326.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.706e-05/0.004608, allocations: 31.89 kB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.004621, allocations: 4 kB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.522e-05/0.004696, allocations: 43.94 kB / 326.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.004753, allocations: 23.91 kB / 326.7 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.004786, allocations: 23.92 kB / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.004939, allocations: 103.5 kB / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.004941, allocations: 0 / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004942, allocations: 0 / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.004946, allocations: 0 / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003667/0.005313, allocations: 325.4 kB / 327.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.005343, allocations: 8.031 kB / 327.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.005373, allocations: 8.922 kB / 327.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.005519, allocations: 158.1 kB / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.005531, allocations: 384 / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.005546, allocations: 4.375 kB / 327.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.578e-05/0.005642, allocations: 61.77 kB / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.00565, allocations: 7.875 kB / 327.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.005658, allocations: 4 kB / 327.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.005662, allocations: 0 / 327.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.212e-05/0.005685, allocations: 7.984 kB / 327.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.005891, allocations: 170 kB / 327.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.154e-05/0.005973, allocations: 85.28 kB / 327.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.005991, allocations: 16.8 kB / 327.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.006002, allocations: 4 kB / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.615e-05/0.006088, allocations: 66.09 kB / 327.7 MB, free: 5.117 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.006089, allocations: 4 kB / 327.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002716/0.006361, allocations: 117.5 kB / 327.8 MB, free: 4.992 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.006389, allocations: 55.41 kB / 327.9 MB, free: 4.926 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.006552, allocations: 184.2 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.006566, allocations: 25.7 kB / 328.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.131e-05/0.006597, allocations: 100.1 kB / 328.2 MB, free: 4.598 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.006623, allocations: 27.8 kB / 328.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.006655, allocations: 25.69 kB / 328.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.411e-05/0.006729, allocations: 326.8 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.006746, allocations: 10.83 kB / 328.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.23e-05/0.006768, allocations: 21.7 kB / 328.6 MB, free: 4.172 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.103e-05/0.006819, allocations: 44.45 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.00682, allocations: 384 / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.01e-05/0.0069, allocations: 76.38 kB / 328.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.006911, allocations: 4 kB / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.006917, allocations: 8.031 kB / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.006926, allocations: 0 / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.279e-05/0.006989, allocations: 19.98 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.006992, allocations: 0 / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.912e-05/0.007021, allocations: 8 kB / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.007026, allocations: 0 / 328.7 MB, free: 4 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.089e-05/0.007087, allocations: 118.8 kB / 328.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.007102, allocations: 15.92 kB / 328.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.00721, allocations: 79.06 kB / 328.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.007213, allocations: 3.984 kB / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.007215, allocations: 4 kB / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.007218, allocations: 0 / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.007429, allocations: 295.4 kB / 329.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.007431, allocations: 0 / 329.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.762e-05/0.007459, allocations: 15.98 kB / 329.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.00746, allocations: 0 / 329.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.007466, allocations: 3.938 kB / 329.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.007468, allocations: 4 kB / 329.2 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007469, allocations: 3.938 kB / 329.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.739e-05/0.007567, allocations: 211.1 kB / 329.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.007579, allocations: 11.91 kB / 329.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.007595, allocations: 11.92 kB / 329.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.037e-05/0.007636, allocations: 4 kB / 329.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.007662, allocations: 7.984 kB / 329.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.007673, allocations: 4 kB / 329.5 MB, free: 3.156 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.593e-05/0.007719, allocations: 60.67 kB / 329.6 MB, free: 3.094 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007719, allocations: 0 / 329.6 MB, free: 3.094 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.007872, allocations: 23.94 kB / 329.6 MB, free: 3.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001291/0.009163, allocations: 0.578 MB / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.562e-05/0.009259, allocations: 40.77 kB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.009263, allocations: 4 kB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.2e-05/0.009295, allocations: 28.78 kB / 330.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.009478, allocations: 36.03 kB / 330.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.00978, allocations: 219.6 kB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.184e-05/0.009822, allocations: 75.33 kB / 330.6 MB, free: 2.344 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.728e-05/0.00986, allocations: 9.297 kB / 330.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.009925, allocations: 67.36 kB / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.009925, allocations: 0 / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of Templates: time 0.003784/0.01371, allocations: 2.029 MB / 332.7 MB, free: 280 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.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: 3.0376926669850945]