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.001082/0.001083, allocations: 101.4 kB / 15.98 MB, free: 6.348 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.001285/0.001285, allocations: 194.4 kB / 16.91 MB, free: 6.191 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.655/1.655, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.4169/0.4169, allocations: 43.5 MB / 313.6 MB, free: 8.535 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.001743/0.001743, allocations: 67.91 kB / 382.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.144, allocations: 57.79 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.004638/0.1487, allocations: 2.069 MB / 442.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1507, allocations: 0.9834 MB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.151, allocations: 4 kB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.1513, allocations: 23.78 kB / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005279/0.1519, allocations: 147.5 kB / 443.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.153, allocations: 379.4 kB / 443.7 MB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005069/0.1535, allocations: 283.1 kB / 444 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.1537, allocations: 68.75 kB / 444 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003208/0.1541, allocations: 131.4 kB / 444.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003208/0.1544, allocations: 195.3 kB / 444.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.397e-05/0.1544, allocations: 16 kB / 444.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.1546, allocations: 35.98 kB / 444.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.1548, allocations: 147.5 kB / 444.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.155, allocations: 174.6 kB / 444.7 MB, free: 9.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005687/0.1556, allocations: 378.4 kB / 445.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1556, allocations: 0 / 445.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1556, allocations: 4 kB / 445.1 MB, free: 9.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.84e-05/0.1556, allocations: 0 / 445.1 MB, free: 9.594 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.00148/0.1571, allocations: 0.7852 MB / 445.9 MB, free: 8.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.847e-05/0.1572, allocations: 15.89 kB / 445.9 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.002e-05/0.1573, allocations: 46.73 kB / 445.9 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.1575, allocations: 56.19 kB / 446 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007003/0.1582, allocations: 459.7 kB / 446.5 MB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.1582, allocations: 8.375 kB / 446.5 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.215e-05/0.1583, allocations: 11.94 kB / 446.5 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.1587, allocations: 155.1 kB / 446.6 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1587, allocations: 0 / 446.6 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1587, allocations: 7.938 kB / 446.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1587, allocations: 4 kB / 446.6 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.159, allocations: 95.92 kB / 446.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.1602, allocations: 0.6839 MB / 447.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.1606, allocations: 129.2 kB / 447.5 MB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.1607, allocations: 57.81 kB / 447.6 MB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.1608, allocations: 4 kB / 447.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.1608, allocations: 38.44 kB / 447.6 MB, free: 6.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.094e-06/0.1608, allocations: 0 / 447.6 MB, free: 6.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002185/0.163, allocations: 0.6706 MB / 448.3 MB, free: 6.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.1631, allocations: 77.11 kB / 448.4 MB, free: 6.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.1642, allocations: 0.8779 MB / 449.3 MB, free: 5.195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.1643, allocations: 25.7 kB / 449.3 MB, free: 5.164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.1645, allocations: 264.2 kB / 449.5 MB, free: 4.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.179e-05/0.1646, allocations: 67 kB / 449.6 MB, free: 4.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.1647, allocations: 41.64 kB / 449.6 MB, free: 4.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.1649, allocations: 378.7 kB / 450 MB, free: 4.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.1651, allocations: 88 kB / 450.1 MB, free: 4.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.1654, allocations: 113.6 kB / 450.2 MB, free: 4.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.1659, allocations: 213.7 kB / 450.4 MB, free: 3.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.166, allocations: 0 / 450.4 MB, free: 3.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006771/0.1666, allocations: 292.8 kB / 450.7 MB, free: 3.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.1667, allocations: 8 kB / 450.7 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1667, allocations: 0 / 450.7 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1667, allocations: 0 / 450.7 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.167, allocations: 59.89 kB / 450.8 MB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.167, allocations: 0 / 450.8 MB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.1672, allocations: 27.91 kB / 450.8 MB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.1673, allocations: 15.98 kB / 450.8 MB, free: 3.586 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.0002306/0.1675, allocations: 213.7 kB / 451 MB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.1676, allocations: 55.25 kB / 451.1 MB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008055/0.1684, allocations: 342.1 kB / 451.4 MB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.1685, allocations: 4 kB / 451.4 MB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1685, allocations: 0 / 451.4 MB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1685, allocations: 384 / 451.4 MB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.1699, allocations: 0.8916 MB / 452.3 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1699, allocations: 4 kB / 452.3 MB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.1701, allocations: 47.95 kB / 452.4 MB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.1701, allocations: 0 / 452.4 MB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.1702, allocations: 11.98 kB / 452.4 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.1702, allocations: 11.94 kB / 452.4 MB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1702, allocations: 7.938 kB / 452.4 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007356/0.1709, allocations: 470 kB / 452.9 MB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.1711, allocations: 148.4 kB / 453 MB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.803e-05/0.1711, allocations: 8 kB / 453 MB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.1714, allocations: 27.91 kB / 453 MB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.104e-05/0.1715, allocations: 15.97 kB / 453 MB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.1715, allocations: 12 kB / 453.1 MB, free: 1.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007104/0.1722, allocations: 0.6354 MB / 453.7 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1722, allocations: 0 / 453.7 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004362/0.1727, allocations: 63.91 kB / 453.8 MB, free: 0.5352 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.2791/0.4518, allocations: 1.301 MB / 455.1 MB, free: 48.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007413/0.4526, allocations: 234.8 kB / 455.3 MB, free: 48.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4526, allocations: 0 / 455.3 MB, free: 48.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.4529, allocations: 127.6 kB / 455.4 MB, free: 48.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008107/0.4537, allocations: 80.56 kB / 455.5 MB, free: 48.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005893/0.4596, allocations: 5.43 MB / 460.9 MB, free: 46.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.4599, allocations: 0.8611 MB / 461.8 MB, free: 45.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001932/0.4601, allocations: 78.16 kB / 461.9 MB, free: 45.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.4603, allocations: 182.7 kB / 462 MB, free: 45.74 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4603, allocations: 0 / 462 MB, free: 45.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.4783, allocations: 9.623 MB / 471.7 MB, free: 44.64 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001375/0.4785, allocations: 232.2 kB / 471.9 MB, free: 44.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.96/2.438, allocations: 0 / 471.9 MB, free: 44.38 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