Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 119 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 190.9 kB / 21.44 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] 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.2239/0.2239, allocations: 44.92 MB / 349.6 MB, free: 1.73 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 63.48 kB / 491.8 MB, free: 30.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1207, allocations: 64.26 MB / 0.543 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003624/0.1243, allocations: 1.584 MB / 0.5446 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000823/0.1252, allocations: 411.1 kB / 0.545 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.1252, allocations: 0 / 0.545 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006098/0.1258, allocations: 447.2 kB / 0.5454 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003855/0.1262, allocations: 255.4 kB / 0.5456 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.1266, allocations: 115.7 kB / 0.5457 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.1269, allocations: 155.7 kB / 0.5459 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.127, allocations: 12 kB / 0.5459 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.1271, allocations: 111.7 kB / 0.546 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.1274, allocations: 239.6 kB / 0.5462 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.1275, allocations: 4 kB / 0.5462 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.57e-05/0.1275, allocations: 19.94 kB / 0.5463 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.1277, allocations: 79.69 kB / 0.5463 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.766e-05/0.1277, allocations: 107 kB / 0.5464 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.1281, allocations: 250.9 kB / 0.5467 GB, free: 468 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1281, allocations: 0 / 0.5467 GB, free: 468 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1281, allocations: 0 / 0.5467 GB, free: 468 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1281, allocations: 0 / 0.5467 GB, free: 468 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008243/0.1289, allocations: 0.6452 MB / 0.5473 GB, free: 15.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.129, allocations: 8.031 kB / 0.5473 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.927e-05/0.129, allocations: 34.69 kB / 0.5473 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.1291, allocations: 48.61 kB / 0.5474 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.1294, allocations: 296.7 kB / 0.5477 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1294, allocations: 384 / 0.5477 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.1294, allocations: 8.375 kB / 0.5477 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.1296, allocations: 45.62 kB / 0.5477 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1296, allocations: 3.938 kB / 0.5477 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.1296, allocations: 3.938 kB / 0.5477 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1296, allocations: 4 kB / 0.5477 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.848e-05/0.1297, allocations: 19.98 kB / 0.5478 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/0.1302, allocations: 388.6 kB / 0.5481 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.209e-05/0.1302, allocations: 26.56 kB / 0.5481 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.1303, allocations: 12.92 kB / 0.5482 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.1303, allocations: 4 kB / 0.5482 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.1303, allocations: 38.53 kB / 0.5482 GB, free: 14.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1303, allocations: 0 / 0.5482 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002638/0.1306, allocations: 101.3 kB / 0.5483 GB, free: 14.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.1307, allocations: 51.41 kB / 0.5483 GB, free: 14.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009074/0.1316, allocations: 0.8652 MB / 0.5492 GB, free: 13.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1316, allocations: 25.7 kB / 0.5492 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.1318, allocations: 220.1 kB / 0.5494 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.1318, allocations: 7.938 kB / 0.5494 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.1318, allocations: 13.72 kB / 0.5494 GB, free: 13.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.132, allocations: 366.9 kB / 0.5498 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.157e-05/0.132, allocations: 7.984 kB / 0.5498 GB, free: 13.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.072e-05/0.1321, allocations: 8 kB / 0.5498 GB, free: 13.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.225e-05/0.1321, allocations: 24.84 kB / 0.5498 GB, free: 12.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1321, allocations: 3.938 kB / 0.5498 GB, free: 12.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001905/0.1323, allocations: 85.5 kB / 0.5499 GB, free: 12.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1323, allocations: 12 kB / 0.5499 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1324, allocations: 0 / 0.5499 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1324, allocations: 0 / 0.5499 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.637e-05/0.1324, allocations: 7.984 kB / 0.5499 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.1324, allocations: 4 kB / 0.5499 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.1325, allocations: 4 kB / 0.5499 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1325, allocations: 0 / 0.5499 GB, free: 12.86 MB / 414.1 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 (2): * Single equations (assignments): 2 * 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 0.0002019/0.1327, allocations: 217.7 kB / 0.5502 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.637e-05/0.1328, allocations: 39.72 kB / 0.5502 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.133, allocations: 112.5 kB / 0.5503 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.133, allocations: 0 / 0.5503 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.133, allocations: 0 / 0.5503 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.133, allocations: 0 / 0.5503 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.1333, allocations: 289.5 kB / 0.5506 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1333, allocations: 3.938 kB / 0.5506 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.1333, allocations: 4 kB / 0.5506 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1333, allocations: 0 / 0.5506 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.1333, allocations: 0 / 0.5506 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1333, allocations: 4.031 kB / 0.5506 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1333, allocations: 3.938 kB / 0.5506 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.1335, allocations: 191.1 kB / 0.5508 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.1336, allocations: 116.8 kB / 0.5509 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.1336, allocations: 0 / 0.5509 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.1337, allocations: 3.984 kB / 0.5509 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.1337, allocations: 8.031 kB / 0.5509 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.1337, allocations: 0 / 0.5509 GB, free: 11.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006352/0.1344, allocations: 0.6511 MB / 0.5515 GB, free: 11.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1344, allocations: 0 / 0.5515 GB, free: 11.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1346, allocations: 23.88 kB / 0.5516 GB, free: 11.11 MB / 414.1 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 (2): * Single equations (assignments): 2 * 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.00161/0.1362, allocations: 0.9635 MB / 0.5525 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.1364, allocations: 23.92 kB / 0.5525 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1364, allocations: 4.062 kB / 0.5525 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.903e-05/0.1364, allocations: 8 kB / 0.5525 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.1368, allocations: 25.89 kB / 0.5526 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.1402, allocations: 3.119 MB / 0.5556 GB, free: 7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.1407, allocations: 0.818 MB / 0.5564 GB, free: 6.156 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.398e-05/0.1407, allocations: 15.98 kB / 0.5564 GB, free: 6.141 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.1409, allocations: 103.4 kB / 0.5565 GB, free: 6.039 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1409, allocations: 4 kB / 0.5565 GB, free: 6.035 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.168, allocations: 5.735 MB / 0.5621 GB, free: 348 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.34/8.508, allocations: 22.41 kB / 0.5621 GB, free: 332 kB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.63458654936403]