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.001107/0.001107, allocations: 80.98 kB / 20.65 MB, free: 3.844 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.001022/0.001022, allocations: 177 kB / 24.06 MB, free: 452 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 0.9432/0.9432, allocations: 158.6 MB / 185.9 MB, free: 2.812 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.2061/0.2061, allocations: 32.38 MB / 270.7 MB, free: 14.54 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.593e-06/1.593e-06, allocations: 0 / 348.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.844e-05, allocations: 2.312 kB / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test17): time 0.002591/0.00262, allocations: 1.666 MB / 349.8 MB, free: 7.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008043/0.003424, allocations: 0.8064 MB / 350.6 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.00348, allocations: 0 / 350.6 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.003819, allocations: 31.78 kB / 350.6 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.004122, allocations: 39.77 kB / 350.7 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.097e-06/0.004126, allocations: 0 / 350.7 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.004291, allocations: 39.84 kB / 350.7 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.004337, allocations: 7.984 kB / 350.7 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.004445, allocations: 15.92 kB / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.021e-05/0.004475, allocations: 7.984 kB / 350.7 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.004488, allocations: 0 / 350.7 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.087e-05/0.004549, allocations: 12 kB / 350.8 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.362e-05/0.004603, allocations: 15.92 kB / 350.8 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.111e-05/0.004624, allocations: 11.94 kB / 350.8 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.004777, allocations: 51.77 kB / 350.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.004782, allocations: 0 / 350.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.004784, allocations: 4 kB / 350.8 MB, free: 6.457 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.00479, allocations: 0 / 350.8 MB, free: 6.457 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.000354/0.005144, allocations: 400.2 kB / 351.2 MB, free: 6.027 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.005201, allocations: 8.031 kB / 351.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/0.005251, allocations: 8.891 kB / 351.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.005412, allocations: 128.5 kB / 351.4 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.005425, allocations: 4.359 kB / 351.4 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.005434, allocations: 4.375 kB / 351.4 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.00557, allocations: 104.3 kB / 351.5 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.00558, allocations: 192 / 351.5 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.005588, allocations: 4.375 kB / 351.5 MB, free: 5.715 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.571e-05/0.005633, allocations: 28.36 kB / 351.5 MB, free: 5.688 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.345e-05/0.005667, allocations: 31.83 kB / 351.5 MB, free: 5.656 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.006105, allocations: 1.173 MB / 352.7 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.253e-05/0.006158, allocations: 273.5 kB / 353 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.363e-05/0.006182, allocations: 126.9 kB / 353.1 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.006199, allocations: 123.2 kB / 353.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.006233, allocations: 160.6 kB / 353.4 MB, free: 3.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.006235, allocations: 0 / 353.4 MB, free: 3.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 7.849e-05/0.006313, allocations: 33.66 kB / 353.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.006352, allocations: 178.5 kB / 353.6 MB, free: 3.504 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.006509, allocations: 247.9 kB / 353.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.662e-06/0.006516, allocations: 25.7 kB / 353.9 MB, free: 3.215 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/0.006596, allocations: 198.2 kB / 354 MB, free: 3.016 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.76e-06/0.006602, allocations: 8 kB / 354.1 MB, free: 3.008 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.109e-05/0.006663, allocations: 55.28 kB / 354.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.006762, allocations: 0.4923 MB / 354.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-05/0.006785, allocations: 11.95 kB / 354.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.006892, allocations: 200.8 kB / 354.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.007068, allocations: 225.5 kB / 355 MB, free: 1.848 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.007073, allocations: 7.938 kB / 355 MB, free: 1.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002421/0.007315, allocations: 157.3 kB / 355.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.007333, allocations: 8 kB / 355.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.007342, allocations: 4 kB / 355.2 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.007361, allocations: 11.92 kB / 355.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.007466, allocations: 43.92 kB / 355.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.007476, allocations: 7.938 kB / 355.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.899e-05/0.007555, allocations: 24.28 kB / 355.3 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.007566, allocations: 16 kB / 355.3 MB, free: 1.566 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 7.723e-05/0.007643, allocations: 287.7 kB / 355.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.007695, allocations: 156.8 kB / 355.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.381e-05/0.007739, allocations: 156.7 kB / 355.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-05/0.007767, allocations: 268.1 kB / 356.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-05/0.007798, allocations: 272 kB / 356.4 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-05/0.007826, allocations: 268.2 kB / 356.7 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.008101, allocations: 0.4887 MB / 357.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-05/0.00816, allocations: 152.9 kB / 357.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.008214, allocations: 144.9 kB / 357.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.416e-05/0.008308, allocations: 272 kB / 357.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.396e-05/0.008402, allocations: 268.1 kB / 358 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.988e-05/0.008492, allocations: 268 kB / 358.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-05/0.008582, allocations: 264.1 kB / 358.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.008818, allocations: 463.8 kB / 359 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.008885, allocations: 152.8 kB / 359.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.008999, allocations: 272 kB / 359.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.009101, allocations: 152.9 kB / 359.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.316e-05/0.009194, allocations: 268 kB / 359.8 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.283e-05/0.009247, allocations: 148.9 kB / 359.9 MB, free: 12.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.009369, allocations: 152 kB / 360.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009369, allocations: 4 kB / 360.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003103/0.00968, allocations: 19.94 kB / 360.1 MB, free: 12.57 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.0006407/0.01032, allocations: 311.9 kB / 360.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001523/0.01047, allocations: 72.64 kB / 360.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01047, allocations: 0 / 360.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.01048, allocations: 0 / 360.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.01096, allocations: 0.7101 MB / 361.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.0114, allocations: 309.2 kB / 361.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.33e-05/0.01146, allocations: 59.84 kB / 361.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.892e-05/0.01156, allocations: 21.08 kB / 361.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.01162, allocations: 82.19 kB / 361.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of SimCode: time 1.463e-06/0.01162, allocations: 0 / 361.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of Templates: time 0.003647/0.01527, allocations: 0.7543 MB / 362.4 MB, free: 10.25 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.2209617127664387]