Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23",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.00105/0.00105, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 206.3 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.1 MB / 222.6 MB, free: 5.004 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3281/0.3281, allocations: 43.49 MB / 313.5 MB, free: 8.402 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002644/0.002644, allocations: 60.28 kB / 382.1 MB, free: 8.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1412, allocations: 57.79 MB / 439.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.003705/0.1449, allocations: 2.076 MB / 442 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.1466, allocations: 0.9717 MB / 443 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.1467, allocations: 4 kB / 443 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.147, allocations: 31.78 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.1474, allocations: 143.5 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008529/0.1483, allocations: 383.4 kB / 443.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003678/0.1487, allocations: 267.1 kB / 443.8 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.1488, allocations: 68.73 kB / 443.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.1491, allocations: 111.5 kB / 444 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.1493, allocations: 191.2 kB / 444.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.1494, allocations: 8 kB / 444.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.1495, allocations: 39.98 kB / 444.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.1497, allocations: 139.5 kB / 444.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.1498, allocations: 166.6 kB / 444.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.1502, allocations: 370.5 kB / 444.8 MB, free: 9.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1502, allocations: 4 kB / 444.9 MB, free: 9.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1502, allocations: 4 kB / 444.9 MB, free: 9.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.1502, allocations: 0 / 444.9 MB, free: 9.855 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001096/0.1513, allocations: 0.7813 MB / 445.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1514, allocations: 12.03 kB / 445.6 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.583e-05/0.1514, allocations: 42.73 kB / 445.7 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.1516, allocations: 56.19 kB / 445.7 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.1521, allocations: 463.7 kB / 446.2 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1521, allocations: 8.312 kB / 446.2 MB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.1521, allocations: 15.94 kB / 446.2 MB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.1524, allocations: 151.2 kB / 446.4 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1525, allocations: 0 / 446.4 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.1525, allocations: 4 kB / 446.4 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.1525, allocations: 4 kB / 446.4 MB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.1528, allocations: 107.9 kB / 446.5 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009068/0.1537, allocations: 0.68 MB / 447.2 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.154, allocations: 121.2 kB / 447.3 MB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.1541, allocations: 57.81 kB / 447.3 MB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.1542, allocations: 11.92 kB / 447.3 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1542, allocations: 38.5 kB / 447.4 MB, free: 7.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.1542, allocations: 4 kB / 447.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001903/0.1561, allocations: 0.6618 MB / 448.1 MB, free: 6.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.1562, allocations: 85.27 kB / 448.1 MB, free: 6.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008772/0.1571, allocations: 0.8702 MB / 449 MB, free: 5.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.1571, allocations: 33.64 kB / 449 MB, free: 5.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.1573, allocations: 264.2 kB / 449.3 MB, free: 5.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/0.1574, allocations: 67 kB / 449.4 MB, free: 5.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.841e-05/0.1574, allocations: 41.69 kB / 449.4 MB, free: 5.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1576, allocations: 374.7 kB / 449.8 MB, free: 4.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.1578, allocations: 83.94 kB / 449.9 MB, free: 4.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.1581, allocations: 113.6 kB / 450 MB, free: 4.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/0.1586, allocations: 209.5 kB / 450.2 MB, free: 4.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1586, allocations: 0 / 450.2 MB, free: 4.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006335/0.1592, allocations: 297 kB / 450.5 MB, free: 3.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1593, allocations: 8 kB / 450.5 MB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1593, allocations: 3.938 kB / 450.5 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1593, allocations: 0 / 450.5 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.1596, allocations: 51.95 kB / 450.5 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1596, allocations: 11.97 kB / 450.5 MB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.1598, allocations: 27.92 kB / 450.6 MB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.1598, allocations: 7.984 kB / 450.6 MB, free: 3.859 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0001989/0.16, allocations: 217.6 kB / 450.8 MB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.1601, allocations: 59.25 kB / 450.8 MB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007382/0.1609, allocations: 342.8 kB / 451.2 MB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1609, allocations: 4 kB / 451.2 MB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1609, allocations: 0 / 451.2 MB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.1609, allocations: 11.97 kB / 451.2 MB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.1622, allocations: 0.8804 MB / 452.1 MB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1622, allocations: 0 / 452.1 MB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.1624, allocations: 59.89 kB / 452.1 MB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.1624, allocations: 3.984 kB / 452.1 MB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.1625, allocations: 4.094 kB / 452.1 MB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1625, allocations: 7.875 kB / 452.1 MB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1625, allocations: 4 kB / 452.1 MB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000676/0.1632, allocations: 470 kB / 452.6 MB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.1633, allocations: 152.4 kB / 452.8 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.1634, allocations: 7.922 kB / 452.8 MB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.1636, allocations: 23.92 kB / 452.8 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.1637, allocations: 23.91 kB / 452.8 MB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.1637, allocations: 15.98 kB / 452.8 MB, free: 1.488 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006198/0.1643, allocations: 0.6315 MB / 453.5 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1643, allocations: 0 / 453.5 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003571/0.1647, allocations: 67.89 kB / 453.5 MB, free: 0.793 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.2078/0.3725, allocations: 1.298 MB / 454.8 MB, free: 49.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007144/0.3732, allocations: 229.7 kB / 455 MB, free: 49.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.3733, allocations: 3 kB / 455 MB, free: 49.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002699/0.3735, allocations: 118 kB / 455.2 MB, free: 49.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007723/0.3743, allocations: 75.11 kB / 455.2 MB, free: 49.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006262/0.3806, allocations: 5.425 MB / 460.7 MB, free: 47.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.3809, allocations: 0.8643 MB / 461.5 MB, free: 46.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002072/0.3811, allocations: 74 kB / 461.6 MB, free: 46.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.3813, allocations: 179.7 kB / 461.8 MB, free: 46.41 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3813, allocations: 0 / 461.8 MB, free: 46.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.4075, allocations: 9.455 MB / 471.2 MB, free: 45.35 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001384/0.4076, allocations: 239.3 kB / 471.5 MB, free: 45.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.269, allocations: 4 kB / 471.5 MB, free: 45.09 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches