Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.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.0009904/0.0009904, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001053/0.001053, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9145/0.9145, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1464/0.1464, allocations: 32.36 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17") translateModel(ModelicaTest.Tables.CombiTable2D.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.263e-05, allocations: 5.406 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test17): time 0.001963/0.001986, allocations: 1.667 MB / 349.3 MB, free: 7.754 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004743/0.00246, allocations: 0.8102 MB / 350.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.002494, allocations: 0 / 350.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.002734, allocations: 35.83 kB / 350.2 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.002916, allocations: 35.78 kB / 350.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.307e-06/0.00292, allocations: 0 / 350.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.003056, allocations: 39.83 kB / 350.3 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.115e-05/0.003087, allocations: 4 kB / 350.3 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.223e-05/0.00312, allocations: 11.92 kB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.299e-05/0.003173, allocations: 15.92 kB / 350.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.003183, allocations: 7.984 kB / 350.3 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.12e-05/0.003225, allocations: 8 kB / 350.3 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.003263, allocations: 15.94 kB / 350.3 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.88e-05/0.003282, allocations: 7.984 kB / 350.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.003385, allocations: 47.78 kB / 350.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003387, allocations: 0 / 350.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.003388, allocations: 0 / 350.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.003392, allocations: 4 kB / 350.4 MB, free: 6.711 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002281/0.00362, allocations: 388.3 kB / 350.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.003652, allocations: 12.03 kB / 350.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.003687, allocations: 12.88 kB / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.66e-05/0.003764, allocations: 120.5 kB / 350.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.003774, allocations: 384 / 350.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.003785, allocations: 8.359 kB / 350.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.79e-05/0.003883, allocations: 112.3 kB / 351 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.003892, allocations: 192 / 351 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.0039, allocations: 384 / 351 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.003937, allocations: 24.34 kB / 351 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.032e-05/0.003967, allocations: 31.8 kB / 351.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.004286, allocations: 1.2 MB / 352.3 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.324e-05/0.004329, allocations: 265.5 kB / 352.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/0.004344, allocations: 138.9 kB / 352.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.004354, allocations: 119.2 kB / 352.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.004373, allocations: 152.6 kB / 352.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.004373, allocations: 0 / 352.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.27e-05/0.004426, allocations: 45.52 kB / 353 MB, free: 3.918 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.004458, allocations: 178.5 kB / 353.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.004565, allocations: 247.9 kB / 353.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-06/0.004569, allocations: 25.7 kB / 353.4 MB, free: 3.441 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.004627, allocations: 202.2 kB / 353.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-06/0.004631, allocations: 4 kB / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.004667, allocations: 47.36 kB / 353.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.249e-05/0.004709, allocations: 0.4962 MB / 354.2 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.004729, allocations: 15.94 kB / 354.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.004798, allocations: 200.8 kB / 354.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.004902, allocations: 233.5 kB / 354.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.004905, allocations: 0 / 354.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001781/0.005083, allocations: 169.8 kB / 354.8 MB, free: 1.895 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.005097, allocations: 8 kB / 354.8 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.005103, allocations: 8.031 kB / 354.8 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.005118, allocations: 7.938 kB / 354.8 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.252e-05/0.005201, allocations: 39.92 kB / 354.8 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.005209, allocations: 7.938 kB / 354.8 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.005257, allocations: 23.84 kB / 354.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.005266, allocations: 12 kB / 354.9 MB, free: 1.789 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.012e-05/0.005316, allocations: 287.6 kB / 355.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.005345, allocations: 156.8 kB / 355.3 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.005375, allocations: 156.7 kB / 355.5 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.005394, allocations: 272 kB / 355.7 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.176e-05/0.005416, allocations: 280.1 kB / 356 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/0.005435, allocations: 268.1 kB / 356.3 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.005588, allocations: 0.5155 MB / 356.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-05/0.005625, allocations: 144.9 kB / 356.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.005665, allocations: 152.8 kB / 357.1 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.729e-05/0.005722, allocations: 268.1 kB / 357.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.394e-05/0.005786, allocations: 268 kB / 357.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.833e-05/0.005844, allocations: 268.1 kB / 357.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.725e-05/0.005911, allocations: 272 kB / 358.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.006047, allocations: 455.9 kB / 358.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.006098, allocations: 160.8 kB / 358.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.928e-05/0.006177, allocations: 264.1 kB / 359 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.285e-05/0.00624, allocations: 152.9 kB / 359.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/0.006316, allocations: 283.9 kB / 359.4 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/0.006361, allocations: 144.9 kB / 359.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.455e-05/0.006445, allocations: 156 kB / 359.7 MB, free: 12.76 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006445, allocations: 0 / 359.7 MB, free: 12.76 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001962/0.006642, allocations: 16 kB / 359.7 MB, free: 12.75 MB / 298.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 (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 Backend phase and start with SimCode phase: time 0.0005173/0.007159, allocations: 307.8 kB / 360 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.007301, allocations: 71.84 kB / 360.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.007302, allocations: 3.938 kB / 360.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.007304, allocations: 4 kB / 360.1 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.00766, allocations: 0.7077 MB / 360.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.007975, allocations: 289.1 kB / 361.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.885e-05/0.008023, allocations: 67.83 kB / 361.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.238e-05/0.008116, allocations: 41.97 kB / 361.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.00815, allocations: 20.48 kB / 361.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of SimCode: time 7.82e-07/0.00815, allocations: 0 / 361.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of Templates: time 0.002847/0.011, allocations: 0.6997 MB / 361.9 MB, free: 10.55 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test17/Test17.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.1888689380139112]