Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001632/0.001632, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001626/0.001626, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9108/0.9108, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.241/0.241, allocations: 34.24 MB / 294.8 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 3.938 kB / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.548e-05, allocations: 2.281 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.1706/0.1706, allocations: 1.65 MB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009223/0.1716, allocations: 0.7701 MB / 444.6 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.1716, allocations: 2.875 kB / 444.6 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.1718, allocations: 25.47 kB / 444.6 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.172, allocations: 47.86 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.997e-06/0.172, allocations: 0 / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.1722, allocations: 36.83 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.1722, allocations: 0 / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.506e-05/0.1722, allocations: 21.44 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.452e-05/0.1723, allocations: 17 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.1723, allocations: 2.656 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.2e-05/0.1723, allocations: 5.438 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.1724, allocations: 23.88 kB / 444.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.1724, allocations: 6.719 kB / 444.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.1725, allocations: 65.16 kB / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1725, allocations: 0.7188 kB / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1725, allocations: 0 / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1725, allocations: 5.062 kB / 444.8 MB, free: 43.19 MB / 410.7 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.0002526/0.1728, allocations: 290 kB / 445.1 MB, free: 42.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1728, allocations: 8.281 kB / 445.1 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.528e-05/0.1729, allocations: 42.62 kB / 445.2 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.1729, allocations: 7.516 kB / 445.2 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.007e-05/0.173, allocations: 116.6 kB / 445.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.173, allocations: 6.156 kB / 445.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.173, allocations: 384 / 445.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1731, allocations: 133.3 kB / 445.4 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1732, allocations: 192 / 445.4 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1732, allocations: 4.203 kB / 445.4 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.282e-05/0.1732, allocations: 26.39 kB / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.272e-05/0.1733, allocations: 46.02 kB / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.1736, allocations: 0.848 MB / 446.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.667e-05/0.1737, allocations: 176.4 kB / 446.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.1737, allocations: 83.67 kB / 446.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/0.1737, allocations: 75.28 kB / 446.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.1737, allocations: 111.2 kB / 446.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.1737, allocations: 0 / 446.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 6.079e-05/0.1738, allocations: 41.42 kB / 446.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.1738, allocations: 129.5 kB / 447 MB, free: 41.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.1739, allocations: 192.7 kB / 447.1 MB, free: 41.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.059e-06/0.1739, allocations: 25.7 kB / 447.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.174, allocations: 155 kB / 447.3 MB, free: 40.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.174, allocations: 3 kB / 447.3 MB, free: 40.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.174, allocations: 43.36 kB / 447.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.463e-05/0.1741, allocations: 320.6 kB / 447.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.413e-05/0.1741, allocations: 34.97 kB / 447.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/0.1741, allocations: 152.6 kB / 447.9 MB, free: 40.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.1743, allocations: 210.1 kB / 448.1 MB, free: 40.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1743, allocations: 2.906 kB / 448.1 MB, free: 40.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001931/0.1744, allocations: 192.4 kB / 448.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1745, allocations: 9.844 kB / 448.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1745, allocations: 9.75 kB / 448.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1745, allocations: 6.469 kB / 448.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.626e-05/0.1746, allocations: 36.48 kB / 448.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.475e-06/0.1746, allocations: 15.08 kB / 448.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.284e-05/0.1746, allocations: 28.38 kB / 448.4 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.1746, allocations: 8.156 kB / 448.4 MB, free: 40.15 MB / 410.7 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 5.718e-05/0.1747, allocations: 214 kB / 448.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.1747, allocations: 114.5 kB / 448.7 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.1747, allocations: 121.9 kB / 448.8 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.1748, allocations: 176.3 kB / 449 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.2e-05/0.1748, allocations: 187 kB / 449.2 MB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.1748, allocations: 176.3 kB / 449.3 MB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.345e-05/0.1749, allocations: 399.9 kB / 449.7 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.1749, allocations: 112.9 kB / 449.8 MB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.096e-06/0.1749, allocations: 101 kB / 449.9 MB, free: 38.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.469e-05/0.1749, allocations: 185.8 kB / 450.1 MB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.1749, allocations: 180.2 kB / 450.3 MB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.296e-05/0.1749, allocations: 186.4 kB / 450.5 MB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.22e-05/0.175, allocations: 186.9 kB / 450.7 MB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.801e-05/0.175, allocations: 311.8 kB / 451 MB, free: 37.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.175, allocations: 113.2 kB / 451.1 MB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.175, allocations: 184.1 kB / 451.3 MB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.734e-05/0.1751, allocations: 107.4 kB / 451.4 MB, free: 37.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.1751, allocations: 183.3 kB / 451.5 MB, free: 36.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.1751, allocations: 107.5 kB / 451.6 MB, free: 36.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.956e-05/0.1752, allocations: 130.7 kB / 451.8 MB, free: 36.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1752, allocations: 0 / 451.8 MB, free: 36.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00018/0.1753, allocations: 17.66 kB / 451.8 MB, free: 36.68 MB / 410.7 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.0004356/0.1758, allocations: 0.9157 MB / 452.7 MB, free: 35.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.1759, allocations: 78.09 kB / 452.8 MB, free: 35.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1759, allocations: 4 kB / 452.8 MB, free: 35.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.1759, allocations: 3.938 kB / 452.8 MB, free: 35.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.1761, allocations: 464.3 kB / 453.2 MB, free: 35.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008518/0.1769, allocations: 1.866 MB / 455.1 MB, free: 33.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.78e-05/0.177, allocations: 89.98 kB / 455.2 MB, free: 33.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000148/0.1771, allocations: 49.02 kB / 455.2 MB, free: 33.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.1772, allocations: 29.34 kB / 455.3 MB, free: 33.53 MB / 410.7 MB Notification: Performance of SimCode: time 6.02e-07/0.1772, allocations: 0 / 455.3 MB, free: 33.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.1952, allocations: 2.731 MB / 458 MB, free: 32.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.201/7.396, allocations: 4.812 kB / 458 MB, free: 32.36 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 9.467032711021602]