Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.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.00118/0.00118, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.001408/0.001408, allocations: 173 kB / 24.25 MB, free: 308 kB / 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 1.101/1.101, allocations: 158.6 MB / 186 MB, free: 2.523 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.1548/0.1548, allocations: 32.37 MB / 270.7 MB, free: 14.75 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16") translateModel(ModelicaTest.Tables.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.334e-05/3.525e-05, allocations: 4.281 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.003001/0.003036, allocations: 1.671 MB / 349.3 MB, free: 8.086 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000752/0.003788, allocations: 0.8063 MB / 350.1 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.003837, allocations: 0 / 350.1 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.004121, allocations: 27.84 kB / 350.2 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.004362, allocations: 43.77 kB / 350.2 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.557e-06/0.004365, allocations: 0 / 350.2 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.004526, allocations: 35.78 kB / 350.3 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.004568, allocations: 3.984 kB / 350.3 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.888e-05/0.004607, allocations: 12 kB / 350.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.507e-05/0.004672, allocations: 19.91 kB / 350.3 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.004685, allocations: 4 kB / 350.3 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.695e-05/0.004732, allocations: 4 kB / 350.3 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.911e-05/0.004781, allocations: 23.92 kB / 350.3 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.004806, allocations: 7.938 kB / 350.3 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.004946, allocations: 43.83 kB / 350.4 MB, free: 7.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.004949, allocations: 0 / 350.4 MB, free: 7.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.00495, allocations: 0 / 350.4 MB, free: 7.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.004955, allocations: 0 / 350.4 MB, free: 7.055 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.0003028/0.005258, allocations: 396.3 kB / 350.8 MB, free: 6.629 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.005299, allocations: 12.03 kB / 350.8 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.005347, allocations: 8.828 kB / 350.8 MB, free: 6.609 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.005449, allocations: 116.6 kB / 350.9 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.005464, allocations: 8.359 kB / 350.9 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.005474, allocations: 384 / 350.9 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.005609, allocations: 112.3 kB / 351 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.005619, allocations: 4.188 kB / 351 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.005628, allocations: 384 / 351 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.414e-05/0.005682, allocations: 24.36 kB / 351 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.948e-05/0.005732, allocations: 31.8 kB / 351.1 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.006194, allocations: 1.207 MB / 352.3 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.275e-05/0.006246, allocations: 261.4 kB / 352.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/0.006266, allocations: 134.9 kB / 352.7 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.006281, allocations: 123.2 kB / 352.8 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.006309, allocations: 152.6 kB / 352.9 MB, free: 4.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.00631, allocations: 0 / 352.9 MB, free: 4.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 6.941e-05/0.006379, allocations: 49.47 kB / 353 MB, free: 4.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.006414, allocations: 170.6 kB / 353.1 MB, free: 4.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.006573, allocations: 253.6 kB / 353.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.549e-06/0.006577, allocations: 25.7 kB / 353.4 MB, free: 3.773 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/0.006649, allocations: 202.3 kB / 353.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.017e-06/0.006653, allocations: 0 / 353.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.006706, allocations: 55.36 kB / 353.7 MB, free: 3.508 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.139e-05/0.006767, allocations: 0.4923 MB / 354.2 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.584e-05/0.006803, allocations: 19.94 kB / 354.2 MB, free: 2.984 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.511e-05/0.006888, allocations: 196.8 kB / 354.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.007027, allocations: 229.5 kB / 354.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.007031, allocations: 8 kB / 354.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002483/0.007279, allocations: 161.7 kB / 354.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.007295, allocations: 12.09 kB / 354.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.007303, allocations: 4 kB / 354.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.007321, allocations: 7.938 kB / 354.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.007443, allocations: 43.92 kB / 354.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.007454, allocations: 11.92 kB / 354.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.614e-05/0.007541, allocations: 19.84 kB / 354.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.007554, allocations: 16 kB / 354.9 MB, free: 2.117 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 6.964e-05/0.007623, allocations: 287.6 kB / 355.2 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.007667, allocations: 152.8 kB / 355.3 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.007705, allocations: 160.7 kB / 355.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.322e-05/0.007738, allocations: 280 kB / 355.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-05/0.00777, allocations: 268.1 kB / 356 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.759e-05/0.007797, allocations: 268.1 kB / 356.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.00796, allocations: 0.5155 MB / 356.8 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.297e-05/0.008003, allocations: 144.9 kB / 356.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.086e-05/0.008054, allocations: 148.8 kB / 357.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.361e-05/0.008138, allocations: 272.1 kB / 357.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.423e-05/0.008222, allocations: 268 kB / 357.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.555e-05/0.008308, allocations: 268.1 kB / 357.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.03e-05/0.008388, allocations: 276 kB / 358.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.008564, allocations: 448 kB / 358.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-05/0.008626, allocations: 160.8 kB / 358.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.891e-05/0.008725, allocations: 268.1 kB / 359 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.522e-05/0.00882, allocations: 156.8 kB / 359.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.557e-05/0.008916, allocations: 272 kB / 359.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-05/0.008976, allocations: 144.9 kB / 359.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.009081, allocations: 159.2 kB / 359.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.009081, allocations: 0 / 359.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003/0.009381, allocations: 12 kB / 359.7 MB, free: 13.09 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.0005498/0.009931, allocations: 318.1 kB / 360 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.01008, allocations: 71.61 kB / 360.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01008, allocations: 0 / 360.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.01009, allocations: 0 / 360.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.01053, allocations: 0.714 MB / 360.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.01089, allocations: 281.2 kB / 361.1 MB, free: 11.72 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.031e-05/0.01098, allocations: 72.95 kB / 361.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.0111, allocations: 49.06 kB / 361.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.01114, allocations: 16.5 kB / 361.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01114, allocations: 0 / 361.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of Templates: time 0.003665/0.01481, allocations: 0.7066 MB / 361.9 MB, free: 10.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.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.4371126249898225]