Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.001534/0.001534, allocations: 116.8 kB / 18.5 MB, free: 4.434 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.001374/0.001374, allocations: 189.2 kB / 21.44 MB, free: 1.504 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.489/1.489, allocations: 225.6 MB / 249.8 MB, free: 3.477 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.2345/0.2345, allocations: 44.91 MB / 349.6 MB, free: 1.723 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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 68.11 kB / 491.8 MB, free: 29.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.123, allocations: 64.26 MB / 0.543 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003147/0.1262, allocations: 1.635 MB / 0.5446 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1277, allocations: 1.035 MB / 0.5456 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.1278, allocations: 0 / 0.5456 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.128, allocations: 27.84 kB / 0.5457 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.1282, allocations: 47.77 kB / 0.5457 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.1286, allocations: 135.1 kB / 0.5458 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.1287, allocations: 55.84 kB / 0.5459 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1288, allocations: 20.38 kB / 0.5459 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-05/0.1288, allocations: 27.86 kB / 0.5459 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.129, allocations: 31.84 kB / 0.546 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.129, allocations: 4 kB / 0.546 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.1291, allocations: 51.98 kB / 0.546 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.849e-05/0.1292, allocations: 15.92 kB / 0.546 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.1292, allocations: 35.78 kB / 0.5461 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.1294, allocations: 91.64 kB / 0.5462 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1294, allocations: 0 / 0.5462 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1294, allocations: 3.938 kB / 0.5462 GB, free: 0.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1294, allocations: 0 / 0.5462 GB, free: 0.875 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005572/0.13, allocations: 402.9 kB / 0.5465 GB, free: 444 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.13, allocations: 8.031 kB / 0.5465 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.544e-05/0.1301, allocations: 38.75 kB / 0.5466 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.1301, allocations: 12.83 kB / 0.5466 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.1303, allocations: 188.3 kB / 0.5468 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1303, allocations: 384 / 0.5468 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.1303, allocations: 4.125 kB / 0.5468 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.1305, allocations: 75.33 kB / 0.5469 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1305, allocations: 0 / 0.5469 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1305, allocations: 0 / 0.5469 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1305, allocations: 0 / 0.5469 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.1307, allocations: 39.97 kB / 0.5469 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.1311, allocations: 296.7 kB / 0.5472 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.1312, allocations: 46.48 kB / 0.5472 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.138e-05/0.1313, allocations: 28.94 kB / 0.5472 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1313, allocations: 4 kB / 0.5473 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.1313, allocations: 30.56 kB / 0.5473 GB, free: 15.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1313, allocations: 0 / 0.5473 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007304/0.1321, allocations: 205.4 kB / 0.5475 GB, free: 15.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.1321, allocations: 81.09 kB / 0.5476 GB, free: 15.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1323, allocations: 144 kB / 0.5477 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1323, allocations: 29.7 kB / 0.5477 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.1324, allocations: 96 kB / 0.5478 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.1324, allocations: 23.84 kB / 0.5478 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.1324, allocations: 17.72 kB / 0.5478 GB, free: 14.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1326, allocations: 322.8 kB / 0.5482 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.1327, allocations: 31.97 kB / 0.5482 GB, free: 14.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.1328, allocations: 49.69 kB / 0.5482 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.133, allocations: 72.75 kB / 0.5483 GB, free: 14.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.133, allocations: 8.031 kB / 0.5483 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002606/0.1333, allocations: 109.6 kB / 0.5484 GB, free: 14.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1333, allocations: 4 kB / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1333, allocations: 0 / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1333, allocations: 0 / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.1334, allocations: 19.98 kB / 0.5484 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1334, allocations: 4.25 kB / 0.5484 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.697e-05/0.1335, allocations: 23.92 kB / 0.5485 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.1335, allocations: 0 / 0.5485 GB, free: 14.26 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 (7): * Single equations (assignments): 7 * 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 9.832e-05/0.1336, allocations: 117.8 kB / 0.5486 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.1336, allocations: 15.88 kB / 0.5486 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.1339, allocations: 126.6 kB / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.1339, allocations: 4 kB / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.134, allocations: 11.92 kB / 0.5487 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.134, allocations: 0 / 0.5487 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/0.1345, allocations: 386.5 kB / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1345, allocations: 0 / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.335e-05/0.1346, allocations: 19.98 kB / 0.5491 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.279e-06/0.1346, allocations: 3.938 kB / 0.5491 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1346, allocations: 4 kB / 0.5491 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1346, allocations: 3.984 kB / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1346, allocations: 0 / 0.5491 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.1349, allocations: 207.4 kB / 0.5493 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.135, allocations: 85.06 kB / 0.5494 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.135, allocations: 7.938 kB / 0.5494 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.864e-05/0.1351, allocations: 15.92 kB / 0.5494 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.1351, allocations: 7.984 kB / 0.5494 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.1351, allocations: 4 kB / 0.5494 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.576e-05/0.1352, allocations: 107.3 kB / 0.5495 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1352, allocations: 0 / 0.5495 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.1355, allocations: 27.92 kB / 0.5496 GB, free: 13.02 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 (7): * Single equations (assignments): 7 * 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.002085/0.1376, allocations: 1.078 MB / 0.5506 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003073/0.1379, allocations: 79.86 kB / 0.5507 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1379, allocations: 0 / 0.5507 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.138, allocations: 39.97 kB / 0.5507 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.1384, allocations: 15.98 kB / 0.5508 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.1405, allocations: 1.541 MB / 0.5523 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.1408, allocations: 0.6922 MB / 0.5529 GB, free: 9.625 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.98e-05/0.1409, allocations: 21.11 kB / 0.553 GB, free: 9.605 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.464e-05/0.141, allocations: 27.42 kB / 0.553 GB, free: 9.578 MB / 414.1 MB Notification: Performance of SimCode: time 6.72e-07/0.141, allocations: 0 / 0.553 GB, free: 9.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.168, allocations: 3.076 MB / 0.556 GB, free: 6.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.069, allocations: 8.391 kB / 0.556 GB, free: 6.488 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.215340401045978]