Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 109.4 kB / 17.21 MB, free: 6.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 241.8 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2593/0.2593, allocations: 44.18 MB / 336.1 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 69.02 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1341, allocations: 60.82 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003246/0.1374, allocations: 1.696 MB / 470.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008335/0.1382, allocations: 427.1 kB / 470.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.604e-05/0.1383, allocations: 0 / 470.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.1386, allocations: 51.86 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.1388, allocations: 55.88 kB / 470.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.1392, allocations: 111.4 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.1393, allocations: 79.75 kB / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1394, allocations: 16 kB / 471 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.869e-05/0.1395, allocations: 31.84 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1396, allocations: 43.83 kB / 471.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.1396, allocations: 4 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.1398, allocations: 51.91 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.872e-05/0.1399, allocations: 19.92 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.1399, allocations: 35.73 kB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.1401, allocations: 103.9 kB / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1401, allocations: 4 kB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1401, allocations: 4 kB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1401, allocations: 0 / 471.3 MB, free: 12 MB / 350.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.000496/0.1406, allocations: 411.1 kB / 471.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1407, allocations: 12.02 kB / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.124e-05/0.1407, allocations: 30.75 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.1408, allocations: 12.84 kB / 471.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.141, allocations: 207.7 kB / 472 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.141, allocations: 4.375 kB / 472 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.141, allocations: 384 / 472 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1412, allocations: 73.61 kB / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1412, allocations: 3.906 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1412, allocations: 4 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1412, allocations: 0 / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.1414, allocations: 39.91 kB / 472.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.1418, allocations: 300.8 kB / 472.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.142, allocations: 58.55 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.445e-05/0.1421, allocations: 32.94 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1421, allocations: 4 kB / 472.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.1422, allocations: 30.56 kB / 472.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1422, allocations: 4 kB / 472.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001403/0.1436, allocations: 396.6 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.1436, allocations: 51.41 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.1438, allocations: 186.2 kB / 473.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1439, allocations: 33.69 kB / 473.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.1439, allocations: 104.1 kB / 473.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.144, allocations: 35.45 kB / 473.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.144, allocations: 29.7 kB / 473.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1441, allocations: 318.8 kB / 473.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.1443, allocations: 39.97 kB / 473.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.1444, allocations: 47.91 kB / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.1447, allocations: 100.8 kB / 473.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1447, allocations: 0 / 473.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003039/0.145, allocations: 141.4 kB / 474 MB, free: 9.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.145, allocations: 4 kB / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.145, allocations: 0 / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.145, allocations: 15.92 kB / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1452, allocations: 28.48 kB / 474 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1452, allocations: 0 / 474 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/0.1452, allocations: 7.984 kB / 474 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.1453, allocations: 8 kB / 474.1 MB, free: 9.051 MB / 350.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.0001076/0.1454, allocations: 121.8 kB / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.1454, allocations: 11.91 kB / 474.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003752/0.1458, allocations: 166.3 kB / 474.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1458, allocations: 3.938 kB / 474.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1458, allocations: 0 / 474.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.1459, allocations: 7.969 kB / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00067/0.1465, allocations: 479.9 kB / 474.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1465, allocations: 0 / 474.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.1466, allocations: 27.92 kB / 474.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1467, allocations: 4 kB / 474.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1467, allocations: 0 / 474.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.1467, allocations: 0 / 474.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1467, allocations: 8.078 kB / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.1471, allocations: 257.5 kB / 475.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.1471, allocations: 92.91 kB / 475.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.1472, allocations: 4 kB / 475.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/0.1473, allocations: 15.98 kB / 475.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.1473, allocations: 7.984 kB / 475.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.1473, allocations: 4 kB / 475.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.1475, allocations: 152.1 kB / 475.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1475, allocations: 0 / 475.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.1478, allocations: 27.98 kB / 475.4 MB, free: 7.57 MB / 350.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.001631/0.1494, allocations: 1.134 MB / 476.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003288/0.1497, allocations: 103.9 kB / 476.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1498, allocations: 0 / 476.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.1499, allocations: 64.03 kB / 476.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.1503, allocations: 19.98 kB / 476.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.1525, allocations: 1.817 MB / 478.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.1529, allocations: 0.7121 MB / 479.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.181e-05/0.1529, allocations: 12.55 kB / 479.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.774e-05/0.153, allocations: 39.42 kB / 479.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.153, allocations: 0 / 479.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01354/0.1666, allocations: 3.044 MB / 482.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003106/0.1669, allocations: 244.7 kB / 482.6 MB, free: 500 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.161, allocations: 7.938 kB / 482.6 MB, free: 492 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches