Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.00188/0.00188, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 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.00214/0.00214, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.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.2515/0.2515, allocations: 44.9 MB / 355.8 MB, free: 12.35 MB / 286.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 75.91 kB / 0.4886 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1348, allocations: 65.41 MB / 0.5525 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003331/0.1381, allocations: 1.666 MB / 0.5541 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1392, allocations: 0.565 MB / 0.5546 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.629e-05/0.1392, allocations: 0 / 0.5546 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000621/0.1398, allocations: 451.1 kB / 0.5551 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004964/0.1403, allocations: 299.2 kB / 0.5554 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.1407, allocations: 123.7 kB / 0.5555 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.1409, allocations: 175.6 kB / 0.5556 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.141, allocations: 16.2 kB / 0.5557 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.1412, allocations: 115.7 kB / 0.5558 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.1414, allocations: 251.5 kB / 0.556 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.1415, allocations: 4 kB / 0.556 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-05/0.1416, allocations: 43.92 kB / 0.5561 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1417, allocations: 79.69 kB / 0.5561 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.654e-05/0.1418, allocations: 115 kB / 0.5562 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.1421, allocations: 262.6 kB / 0.5565 GB, free: 5.988 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1421, allocations: 0 / 0.5565 GB, free: 5.988 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1421, allocations: 0 / 0.5565 GB, free: 5.988 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1421, allocations: 0 / 0.5565 GB, free: 5.988 MB / 414.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.0008753/0.143, allocations: 0.6685 MB / 0.5571 GB, free: 5.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.143, allocations: 12.03 kB / 0.5572 GB, free: 5.258 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.397e-05/0.1431, allocations: 4.125 kB / 0.5572 GB, free: 5.254 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.1431, allocations: 38.73 kB / 0.5572 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.912e-05/0.1432, allocations: 44.66 kB / 0.5572 GB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.1435, allocations: 300.6 kB / 0.5575 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1435, allocations: 384 / 0.5575 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.1435, allocations: 8.125 kB / 0.5575 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.1437, allocations: 65.66 kB / 0.5576 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1437, allocations: 0 / 0.5576 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1437, allocations: 0 / 0.5576 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1437, allocations: 3.938 kB / 0.5576 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.1439, allocations: 39.91 kB / 0.5576 GB, free: 4.707 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005162/0.1444, allocations: 392.7 kB / 0.558 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.1445, allocations: 46.55 kB / 0.5581 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.34e-05/0.1446, allocations: 24.94 kB / 0.5581 GB, free: 4.191 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.1446, allocations: 0 / 0.5581 GB, free: 4.191 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.1447, allocations: 34.5 kB / 0.5581 GB, free: 4.148 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1447, allocations: 0 / 0.5581 GB, free: 4.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009349/0.1456, allocations: 300.5 kB / 0.5584 GB, free: 3.848 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.1457, allocations: 55.48 kB / 0.5585 GB, free: 3.781 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009285/0.1466, allocations: 0.8698 MB / 0.5593 GB, free: 2.898 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.1466, allocations: 25.7 kB / 0.5593 GB, free: 2.867 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.1468, allocations: 224.1 kB / 0.5595 GB, free: 2.645 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.1469, allocations: 27.75 kB / 0.5596 GB, free: 2.617 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.1469, allocations: 21.7 kB / 0.5596 GB, free: 2.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.1471, allocations: 358.8 kB / 0.5599 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.1472, allocations: 31.97 kB / 0.56 GB, free: 2.199 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.1473, allocations: 36.03 kB / 0.56 GB, free: 2.164 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.1476, allocations: 80.8 kB / 0.5601 GB, free: 2.082 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1476, allocations: 0 / 0.5601 GB, free: 2.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003355/0.1479, allocations: 145.3 kB / 0.5602 GB, free: 1.934 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1479, allocations: 7.938 kB / 0.5602 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1479, allocations: 0 / 0.5602 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1479, allocations: 4 kB / 0.5602 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1481, allocations: 19.98 kB / 0.5602 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.1481, allocations: 7.938 kB / 0.5602 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.679e-05/0.1482, allocations: 15.98 kB / 0.5603 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.1482, allocations: 0 / 0.5603 GB, free: 1.879 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 0.0001992/0.1484, allocations: 212 kB / 0.5605 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.718e-05/0.1484, allocations: 47.7 kB / 0.5605 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004021/0.1488, allocations: 177.4 kB / 0.5607 GB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1488, allocations: 0 / 0.5607 GB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1488, allocations: 3.938 kB / 0.5607 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1488, allocations: 4 kB / 0.5607 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007174/0.1496, allocations: 0.4906 MB / 0.5612 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1496, allocations: 4 kB / 0.5612 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.322e-05/0.1497, allocations: 23.92 kB / 0.5612 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1497, allocations: 3.938 kB / 0.5612 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.1497, allocations: 0 / 0.5612 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1497, allocations: 0 / 0.5612 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1497, allocations: 0 / 0.5612 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.15, allocations: 247.9 kB / 0.5614 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.421e-05/0.1501, allocations: 116.8 kB / 0.5615 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.1502, allocations: 7.938 kB / 0.5616 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1503, allocations: 11.97 kB / 0.5616 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.1503, allocations: 8 kB / 0.5616 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.1503, allocations: 3.984 kB / 0.5616 GB, free: 432 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007753/0.1511, allocations: 0.6512 MB / 0.5622 GB, free: 15.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1511, allocations: 0 / 0.5622 GB, free: 15.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.1514, allocations: 31.94 kB / 0.5622 GB, free: 15.74 MB / 430.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.002109/0.1535, allocations: 1.095 MB / 0.5633 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002996/0.1538, allocations: 75.94 kB / 0.5634 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1538, allocations: 3.938 kB / 0.5634 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.1539, allocations: 35.97 kB / 0.5634 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.1543, allocations: 33.55 kB / 0.5635 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004387/0.1587, allocations: 3.323 MB / 0.5667 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.1592, allocations: 0.826 MB / 0.5675 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.692e-05/0.1593, allocations: 16.95 kB / 0.5675 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.1594, allocations: 107.4 kB / 0.5676 GB, free: 10.26 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1594, allocations: 0 / 0.5676 GB, free: 10.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.1832, allocations: 6.256 MB / 0.5737 GB, free: 4.062 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.999/9.182, allocations: 4.062 kB / 0.5737 GB, free: 4.059 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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: 12.56751483399421]