Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.002015/0.002015, 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.002381/0.002381, 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.521/1.521, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2317/0.2317, allocations: 46.93 MB / 357.8 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 71.91 kB / 0.4917 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1296, allocations: 65.99 MB / 0.5561 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003103/0.1327, allocations: 1.677 MB / 0.5577 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1338, allocations: 0.5688 MB / 0.5583 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.1339, allocations: 0 / 0.5583 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.1341, allocations: 71.7 kB / 0.5584 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.1344, allocations: 99.59 kB / 0.5584 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.1348, allocations: 134.8 kB / 0.5586 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.1349, allocations: 91.75 kB / 0.5587 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.921e-05/0.135, allocations: 24.14 kB / 0.5587 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.387e-05/0.1351, allocations: 35.91 kB / 0.5587 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.1352, allocations: 63.73 kB / 0.5588 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.1353, allocations: 4 kB / 0.5588 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1354, allocations: 51.92 kB / 0.5588 GB, free: 3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.818e-05/0.1354, allocations: 23.91 kB / 0.5589 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.1355, allocations: 39.73 kB / 0.5589 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.1357, allocations: 123.4 kB / 0.559 GB, free: 2.816 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1357, allocations: 4 kB / 0.559 GB, free: 2.812 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1357, allocations: 0 / 0.559 GB, free: 2.812 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.1357, allocations: 0 / 0.559 GB, free: 2.812 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006189/0.1363, allocations: 438.6 kB / 0.5594 GB, free: 2.336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1364, allocations: 15.97 kB / 0.5595 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.263e-05/0.1364, allocations: 192 / 0.5595 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.054e-05/0.1364, allocations: 30.75 kB / 0.5595 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.1365, allocations: 20.84 kB / 0.5595 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.1367, allocations: 212.1 kB / 0.5597 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1367, allocations: 384 / 0.5597 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.1367, allocations: 12.11 kB / 0.5597 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.1369, allocations: 69.66 kB / 0.5598 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1369, allocations: 0 / 0.5598 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.1369, allocations: 0 / 0.5598 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1369, allocations: 0 / 0.5598 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.1371, allocations: 39.91 kB / 0.5598 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.1375, allocations: 316.8 kB / 0.5601 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.1377, allocations: 58.58 kB / 0.5602 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.849e-05/0.1378, allocations: 20.97 kB / 0.5602 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.1378, allocations: 4 kB / 0.5602 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.1379, allocations: 34.56 kB / 0.5602 GB, free: 1.395 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.1379, allocations: 0 / 0.5602 GB, free: 1.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001588/0.1395, allocations: 405.2 kB / 0.5606 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.1395, allocations: 55.41 kB / 0.5607 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.1397, allocations: 222.1 kB / 0.5609 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.1398, allocations: 29.7 kB / 0.5609 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.372e-05/0.1398, allocations: 112 kB / 0.561 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.1399, allocations: 43.62 kB / 0.5611 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.1399, allocations: 29.7 kB / 0.5611 GB, free: 484 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1401, allocations: 322.8 kB / 0.5614 GB, free: 152 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.1402, allocations: 47.91 kB / 0.5614 GB, free: 104 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.1404, allocations: 43.97 kB / 0.5615 GB, free: 60 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.1407, allocations: 104.8 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1407, allocations: 0 / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003697/0.141, allocations: 141.5 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.141, allocations: 12 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.141, allocations: 0 / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1411, allocations: 3.938 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1412, allocations: 31.91 kB / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1412, allocations: 0 / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.715e-05/0.1413, allocations: 15.98 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1413, allocations: 0 / 0.5618 GB, free: 15.74 MB / 430.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 (11): * Single equations (assignments): 11 * 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.0001269/0.1414, allocations: 128 kB / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.1415, allocations: 23.89 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004369/0.1419, allocations: 162.9 kB / 0.5621 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1419, allocations: 0 / 0.5621 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1419, allocations: 4 kB / 0.5621 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1419, allocations: 3.938 kB / 0.5621 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007411/0.1426, allocations: 476 kB / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1426, allocations: 0 / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.1428, allocations: 36.11 kB / 0.5626 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1428, allocations: 0 / 0.5626 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.1428, allocations: 7.984 kB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1428, allocations: 4 kB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1428, allocations: 0 / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.1432, allocations: 265 kB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.1433, allocations: 89.02 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.1433, allocations: 0 / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.1434, allocations: 19.98 kB / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.1434, allocations: 7.984 kB / 0.563 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.1435, allocations: 4 kB / 0.563 GB, free: 14.42 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002053/0.1437, allocations: 172.2 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1437, allocations: 0 / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.1439, allocations: 31.92 kB / 0.5632 GB, free: 14.22 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002445/0.1464, allocations: 1.143 MB / 0.5643 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003828/0.1468, allocations: 99.88 kB / 0.5644 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1468, allocations: 0 / 0.5644 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.1469, allocations: 64.02 kB / 0.5644 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.1473, allocations: 12 kB / 0.5644 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.1501, allocations: 1.904 MB / 0.5663 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.1505, allocations: 0.7119 MB / 0.567 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.152e-05/0.1506, allocations: 20.55 kB / 0.567 GB, free: 10.31 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.1507, allocations: 43.41 kB / 0.5671 GB, free: 10.27 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1507, allocations: 0 / 0.5671 GB, free: 10.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.1717, allocations: 3.553 MB / 0.5705 GB, free: 6.781 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.551/8.722, allocations: 15.44 kB / 0.5705 GB, free: 6.77 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.959007902012672]