Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.0009572/0.0009572, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001078/0.001078, allocations: 169.2 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.9566/0.9566, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2412/0.2412, allocations: 32.8 MB / 294.6 MB, free: 1.25 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.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 323.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.518e-05, allocations: 6.969 kB / 323.3 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.002061/0.002076, allocations: 1.739 MB / 325 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006812/0.002757, allocations: 0.5646 MB / 325.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.0028, allocations: 0 / 325.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.003014, allocations: 59.72 kB / 325.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.003241, allocations: 91.48 kB / 325.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.003478, allocations: 135.6 kB / 325.9 MB, free: 7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.003603, allocations: 83.75 kB / 326 MB, free: 6.918 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.69e-05/0.00368, allocations: 16.84 kB / 326 MB, free: 6.898 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.677e-05/0.003747, allocations: 51.83 kB / 326 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.641e-05/0.003823, allocations: 35.89 kB / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.003836, allocations: 8 kB / 326.1 MB, free: 6.805 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.859e-05/0.003925, allocations: 55.91 kB / 326.1 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.003981, allocations: 23.92 kB / 326.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.004003, allocations: 15.92 kB / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.004139, allocations: 99.58 kB / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.004141, allocations: 0 / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004141, allocations: 0 / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.004144, allocations: 0 / 326.3 MB, free: 6.613 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002998/0.004444, allocations: 317.4 kB / 326.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.004473, allocations: 12.03 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.004497, allocations: 4.938 kB / 326.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.004607, allocations: 150.2 kB / 326.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.2e-06/0.004612, allocations: 384 / 326.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.004627, allocations: 4.375 kB / 326.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.007e-05/0.004707, allocations: 62.94 kB / 326.8 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.004714, allocations: 192 / 326.8 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.004722, allocations: 8.125 kB / 326.8 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.004727, allocations: 7.984 kB / 326.8 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.293e-05/0.00475, allocations: 7.938 kB / 326.8 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002224/0.004973, allocations: 172.2 kB / 327 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.005081, allocations: 42.58 kB / 327 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.597e-05/0.005097, allocations: 16.98 kB / 327.1 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.005111, allocations: 0 / 327.1 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.005128, allocations: 34.5 kB / 327.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.005129, allocations: 0 / 327.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004266/0.005555, allocations: 201.4 kB / 327.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.005581, allocations: 59.41 kB / 327.3 MB, free: 5.426 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/0.005676, allocations: 170.2 kB / 327.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.998e-06/0.005686, allocations: 25.7 kB / 327.5 MB, free: 5.215 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.874e-05/0.005714, allocations: 100 kB / 327.6 MB, free: 5.113 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.005741, allocations: 43.61 kB / 327.7 MB, free: 5.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.005778, allocations: 29.69 kB / 327.7 MB, free: 5.035 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.085e-05/0.005849, allocations: 322.8 kB / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.005864, allocations: 8 kB / 328 MB, free: 4.703 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.528e-05/0.00588, allocations: 13.33 kB / 328 MB, free: 4.691 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.181e-05/0.005922, allocations: 37.8 kB / 328.1 MB, free: 4.652 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.005922, allocations: 0 / 328.1 MB, free: 4.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 6.918e-05/0.005991, allocations: 79.47 kB / 328.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.006002, allocations: 4 kB / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.006006, allocations: 0 / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.006015, allocations: 7.938 kB / 328.2 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.951e-05/0.006075, allocations: 23.98 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.006077, allocations: 0 / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.006101, allocations: 11.97 kB / 328.2 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.006107, allocations: 4 kB / 328.2 MB, free: 4.52 MB / 298.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 (11): * Single equations (assignments): 11 * 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.668e-05/0.006173, allocations: 116.6 kB / 328.3 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.006202, allocations: 15.98 kB / 328.3 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.006329, allocations: 86.38 kB / 328.4 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.006332, allocations: 4 kB / 328.4 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.006333, allocations: 0 / 328.4 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.006336, allocations: 0 / 328.4 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.006576, allocations: 268.3 kB / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.006578, allocations: 4 kB / 328.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-05/0.006636, allocations: 27.92 kB / 328.7 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.006642, allocations: 7.984 kB / 328.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.006647, allocations: 4.062 kB / 328.7 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.006648, allocations: 0 / 328.7 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.006649, allocations: 0 / 328.7 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.00675, allocations: 189.1 kB / 328.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.00676, allocations: 11.94 kB / 328.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.00677, allocations: 0 / 328.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.011e-05/0.00681, allocations: 8 kB / 328.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.006836, allocations: 11.92 kB / 328.9 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.006842, allocations: 4 kB / 329 MB, free: 3.707 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.919e-05/0.006881, allocations: 53.11 kB / 329 MB, free: 3.652 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.006881, allocations: 4 kB / 329 MB, free: 3.648 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001366/0.007018, allocations: 27.94 kB / 329 MB, free: 3.621 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00114/0.008158, allocations: 0.5765 MB / 329.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.137e-05/0.008239, allocations: 56.69 kB / 329.7 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.008243, allocations: 4 kB / 329.7 MB, free: 3.285 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.761e-05/0.00827, allocations: 32.78 kB / 329.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.008421, allocations: 23.94 kB / 329.7 MB, free: 3.227 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.008721, allocations: 255.3 kB / 330 MB, free: 2.945 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.1e-05/0.008762, allocations: 75.33 kB / 330 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.764e-05/0.0088, allocations: 16.61 kB / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.008853, allocations: 63.38 kB / 330.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of SimCode: time 3.5e-07/0.008853, allocations: 0 / 330.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of Templates: time 0.002958/0.01181, allocations: 1.679 MB / 331.8 MB, free: 1.109 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.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.8301519989036024]