Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.002051/0.002051, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.002275/0.002275, allocations: 215.1 kB / 21.45 MB, free: 1.641 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.561/1.561, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2454/0.2454, allocations: 44.9 MB / 355.8 MB, free: 12.32 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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",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.00193/0.00193, allocations: 71.89 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1288, allocations: 65.41 MB / 0.5524 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003119/0.1319, allocations: 1.652 MB / 0.5541 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009244/0.1328, allocations: 0.6919 MB / 0.5547 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.1329, allocations: 0 / 0.5547 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.1331, allocations: 27.84 kB / 0.5548 GB, free: 7.734 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.1334, allocations: 43.83 kB / 0.5548 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.147e-06/0.1334, allocations: 0 / 0.5548 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.1335, allocations: 35.83 kB / 0.5548 GB, free: 7.656 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.1335, allocations: 8.281 kB / 0.5548 GB, free: 7.648 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.457e-05/0.1336, allocations: 11.88 kB / 0.5549 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.445e-05/0.1336, allocations: 19.91 kB / 0.5549 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.1337, allocations: 0 / 0.5549 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.093e-05/0.1337, allocations: 8 kB / 0.5549 GB, free: 7.609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.1338, allocations: 19.92 kB / 0.5549 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.1338, allocations: 19.81 kB / 0.5549 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.1339, allocations: 75.61 kB / 0.555 GB, free: 7.496 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.134, allocations: 0 / 0.555 GB, free: 7.496 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.134, allocations: 4 kB / 0.555 GB, free: 7.492 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.134, allocations: 0 / 0.555 GB, free: 7.492 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004051/0.1344, allocations: 368.8 kB / 0.5553 GB, free: 7.082 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1344, allocations: 8.031 kB / 0.5554 GB, free: 7.074 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.304e-05/0.1344, allocations: 4.188 kB / 0.5554 GB, free: 7.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.113e-05/0.1345, allocations: 46.72 kB / 0.5554 GB, free: 7.016 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.1345, allocations: 4.891 kB / 0.5554 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.1346, allocations: 176.3 kB / 0.5556 GB, free: 6.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1346, allocations: 384 / 0.5556 GB, free: 6.801 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.1347, allocations: 4.375 kB / 0.5556 GB, free: 6.797 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.1348, allocations: 127.1 kB / 0.5557 GB, free: 6.648 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1349, allocations: 0 / 0.5557 GB, free: 6.648 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1349, allocations: 3.984 kB / 0.5557 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.476e-05/0.1349, allocations: 35.91 kB / 0.5557 GB, free: 6.609 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.133e-05/0.135, allocations: 39.92 kB / 0.5558 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006727/0.1357, allocations: 0.8907 MB / 0.5566 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.598e-05/0.1358, allocations: 169.1 kB / 0.5568 GB, free: 5.434 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.1358, allocations: 80.14 kB / 0.5569 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.1358, allocations: 79.28 kB / 0.557 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.708e-05/0.1359, allocations: 121.8 kB / 0.5571 GB, free: 5.145 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1359, allocations: 0 / 0.5571 GB, free: 5.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.938e-05/0.136, allocations: 41.64 kB / 0.5571 GB, free: 5.098 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.136, allocations: 126.7 kB / 0.5572 GB, free: 4.961 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.1362, allocations: 184.4 kB / 0.5574 GB, free: 4.773 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.1362, allocations: 25.7 kB / 0.5574 GB, free: 4.742 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.1363, allocations: 155.5 kB / 0.5576 GB, free: 4.586 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-06/0.1364, allocations: 0 / 0.5576 GB, free: 4.586 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.1364, allocations: 45.67 kB / 0.5576 GB, free: 4.535 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1365, allocations: 322.8 kB / 0.5579 GB, free: 4.211 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.81e-05/0.1366, allocations: 35.91 kB / 0.558 GB, free: 4.176 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.1367, allocations: 154.8 kB / 0.5581 GB, free: 3.965 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.137, allocations: 208.9 kB / 0.5583 GB, free: 3.699 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.137, allocations: 4 kB / 0.5583 GB, free: 3.695 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003054/0.1373, allocations: 201.5 kB / 0.5585 GB, free: 3.492 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1373, allocations: 12.12 kB / 0.5585 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1373, allocations: 4 kB / 0.5585 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.1373, allocations: 8 kB / 0.5585 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.1374, allocations: 35.92 kB / 0.5586 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.376e-05/0.1375, allocations: 7.984 kB / 0.5586 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.307e-05/0.1375, allocations: 23.89 kB / 0.5586 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.1376, allocations: 8 kB / 0.5586 GB, free: 3.395 MB / 414.1 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 0.0001393/0.1377, allocations: 217.8 kB / 0.5588 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.687e-05/0.1378, allocations: 120.9 kB / 0.5589 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.641e-05/0.1378, allocations: 120.6 kB / 0.559 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.939e-05/0.1379, allocations: 184.2 kB / 0.5592 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-05/0.138, allocations: 176.3 kB / 0.5594 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-05/0.1381, allocations: 176.3 kB / 0.5596 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.1383, allocations: 433.1 kB / 0.56 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.793e-05/0.1384, allocations: 101 kB / 0.5601 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.1384, allocations: 112.9 kB / 0.5602 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.629e-05/0.1385, allocations: 176.3 kB / 0.5603 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.9e-05/0.1386, allocations: 176.3 kB / 0.5605 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.616e-05/0.1387, allocations: 184.2 kB / 0.5607 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.636e-05/0.1387, allocations: 184.3 kB / 0.5609 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.1389, allocations: 319.6 kB / 0.5612 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.139, allocations: 186 kB / 0.5613 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.343e-05/0.1391, allocations: 184.2 kB / 0.5615 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.734e-05/0.1392, allocations: 109 kB / 0.5616 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.68e-05/0.1393, allocations: 184.2 kB / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.096e-05/0.1394, allocations: 101 kB / 0.5619 GB, free: 15.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1395, allocations: 131.2 kB / 0.562 GB, free: 15.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1395, allocations: 4 kB / 0.562 GB, free: 15.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1397, allocations: 12 kB / 0.562 GB, free: 15.66 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 (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.0009796/0.1407, allocations: 0.9281 MB / 0.5629 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.1409, allocations: 72.78 kB / 0.563 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1409, allocations: 0 / 0.563 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.1409, allocations: 4.25 kB / 0.563 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.1413, allocations: 462.2 kB / 0.5635 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.143, allocations: 1.867 MB / 0.5653 GB, free: 12.15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1434, allocations: 0.6967 MB / 0.566 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001632/0.1435, allocations: 53.02 kB / 0.566 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.1436, allocations: 23.42 kB / 0.566 GB, free: 11.36 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1436, allocations: 4 kB / 0.566 GB, free: 11.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.1623, allocations: 2.184 MB / 0.5682 GB, free: 9.234 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.449/8.611, allocations: 14.97 kB / 0.5682 GB, free: 9.227 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.858383131970186]