Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001812/0.001812, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.002086/0.002086, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.555/1.555, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2353/0.2353, allocations: 46.92 MB / 357.8 MB, free: 10.33 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.Test17,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 63.89 kB / 0.4916 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1482, allocations: 65.99 MB / 0.5561 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003161/0.1513, allocations: 1.655 MB / 0.5577 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009457/0.1523, allocations: 0.6958 MB / 0.5584 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.1523, allocations: 4 kB / 0.5584 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.1525, allocations: 27.84 kB / 0.5584 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.1527, allocations: 39.83 kB / 0.5584 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.159e-06/0.1527, allocations: 0 / 0.5584 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.1529, allocations: 35.89 kB / 0.5585 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.1529, allocations: 0 / 0.5585 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.523e-05/0.153, allocations: 15.88 kB / 0.5585 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.487e-05/0.1531, allocations: 23.91 kB / 0.5585 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.1531, allocations: 0 / 0.5585 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.259e-05/0.1531, allocations: 8 kB / 0.5585 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.1532, allocations: 19.92 kB / 0.5585 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.1532, allocations: 19.81 kB / 0.5586 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.1534, allocations: 67.67 kB / 0.5586 GB, free: 3.234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1534, allocations: 0 / 0.5586 GB, free: 3.234 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1534, allocations: 0 / 0.5586 GB, free: 3.234 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1534, allocations: 7.938 kB / 0.5586 GB, free: 3.227 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.0005665/0.154, allocations: 371.1 kB / 0.559 GB, free: 2.812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.154, allocations: 8.031 kB / 0.559 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.566e-05/0.154, allocations: 192 / 0.559 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.1541, allocations: 42.72 kB / 0.559 GB, free: 2.754 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.1541, allocations: 8.891 kB / 0.559 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.1543, allocations: 176.3 kB / 0.5592 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.1543, allocations: 384 / 0.5592 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.1543, allocations: 384 / 0.5592 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.1545, allocations: 127.1 kB / 0.5593 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1545, allocations: 4 kB / 0.5593 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1545, allocations: 3.984 kB / 0.5593 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.168e-05/0.1545, allocations: 27.92 kB / 0.5594 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.912e-05/0.1546, allocations: 43.91 kB / 0.5594 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007761/0.1554, allocations: 0.8829 MB / 0.5603 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.1555, allocations: 177.1 kB / 0.5604 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.348e-05/0.1556, allocations: 80.14 kB / 0.5605 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.1556, allocations: 75.28 kB / 0.5606 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.439e-05/0.1557, allocations: 109.8 kB / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1557, allocations: 96 / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.958e-05/0.1558, allocations: 49.53 kB / 0.5607 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/0.1559, allocations: 126.7 kB / 0.5609 GB, free: 0.707 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.156, allocations: 180.4 kB / 0.561 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.1561, allocations: 25.7 kB / 0.561 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1562, allocations: 151.5 kB / 0.5612 GB, free: 348 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.1562, allocations: 23.86 kB / 0.5612 GB, free: 324 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/0.1563, allocations: 41.67 kB / 0.5613 GB, free: 276 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.1565, allocations: 318.8 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.088e-05/0.1566, allocations: 35.98 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.1568, allocations: 158.6 kB / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.157, allocations: 204.9 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.157, allocations: 0 / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003628/0.1574, allocations: 201 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.1574, allocations: 8 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.1574, allocations: 4.625 kB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.1574, allocations: 4 kB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.1576, allocations: 47.92 kB / 0.5622 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.1576, allocations: 7.984 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.344e-05/0.1577, allocations: 19.83 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.1577, allocations: 16 kB / 0.5622 GB, free: 15.13 MB / 430.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.0001581/0.1579, allocations: 213.9 kB / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.546e-05/0.158, allocations: 116.9 kB / 0.5626 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.139e-05/0.158, allocations: 116.6 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.69e-05/0.1581, allocations: 184.2 kB / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001078/0.1582, allocations: 184.2 kB / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001007/0.1583, allocations: 180.3 kB / 0.5632 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.1587, allocations: 429.1 kB / 0.5636 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.525e-05/0.1587, allocations: 101 kB / 0.5637 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.547e-05/0.1588, allocations: 108.9 kB / 0.5638 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-05/0.1589, allocations: 184.3 kB / 0.564 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.523e-05/0.159, allocations: 176.3 kB / 0.5641 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001029/0.1591, allocations: 180.2 kB / 0.5643 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.549e-05/0.1592, allocations: 180.2 kB / 0.5645 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.1594, allocations: 327.6 kB / 0.5648 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.1595, allocations: 186 kB / 0.565 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.1596, allocations: 184.2 kB / 0.5651 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.381e-05/0.1597, allocations: 101 kB / 0.5652 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.535e-05/0.1598, allocations: 180.2 kB / 0.5654 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/0.1598, allocations: 109 kB / 0.5655 GB, free: 11.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.16, allocations: 135.2 kB / 0.5656 GB, free: 11.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.16, allocations: 0 / 0.5656 GB, free: 11.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.1603, allocations: 19.94 kB / 0.5657 GB, free: 11.39 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.001122/0.1614, allocations: 0.9149 MB / 0.5666 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.1616, allocations: 71.78 kB / 0.5666 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1616, allocations: 0 / 0.5666 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.789e-06/0.1616, allocations: 5.25 kB / 0.5666 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.162, allocations: 463.7 kB / 0.5671 GB, free: 9.969 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.1643, allocations: 1.876 MB / 0.5689 GB, free: 7.887 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.1648, allocations: 0.7006 MB / 0.5696 GB, free: 7.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002381/0.165, allocations: 49.02 kB / 0.5696 GB, free: 7.113 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.199e-05/0.1651, allocations: 23.44 kB / 0.5697 GB, free: 7.09 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1651, allocations: 0 / 0.5697 GB, free: 7.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.1846, allocations: 2.181 MB / 0.5718 GB, free: 4.977 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.31/8.495, allocations: 11.41 kB / 0.5718 GB, free: 4.969 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.794146361004096]