Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",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.001135/0.001135, allocations: 109 kB / 17.33 MB, free: 6.02 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.001021/0.001021, allocations: 197.3 kB / 18.25 MB, free: 5.113 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.382/1.382, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2414/0.2414, allocations: 44.18 MB / 336.2 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001612, allocations: 64.39 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.145, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003788/0.1488, allocations: 1.668 MB / 470.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009602/0.1498, allocations: 443.2 kB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.42e-05/0.1499, allocations: 0 / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005991/0.1505, allocations: 455.1 kB / 471.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.151, allocations: 239.6 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.1515, allocations: 166.8 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.1518, allocations: 159.6 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.152, allocations: 24.17 kB / 472 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.1522, allocations: 103.8 kB / 472.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.1524, allocations: 227.5 kB / 472.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.1525, allocations: 0 / 472.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1526, allocations: 28 kB / 472.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1527, allocations: 87.67 kB / 472.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.754e-05/0.1528, allocations: 107 kB / 472.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.1532, allocations: 255.2 kB / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1532, allocations: 0 / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1532, allocations: 0 / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.1532, allocations: 0 / 472.7 MB, free: 10.69 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008571/0.1541, allocations: 0.6375 MB / 473.4 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.1541, allocations: 8.031 kB / 473.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.1542, allocations: 34.75 kB / 473.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.026e-05/0.1542, allocations: 44.45 kB / 473.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.1546, allocations: 300.1 kB / 473.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1546, allocations: 4.375 kB / 473.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.1546, allocations: 8.125 kB / 473.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.1548, allocations: 61.59 kB / 473.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1548, allocations: 0 / 473.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1548, allocations: 3.938 kB / 473.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1548, allocations: 4 kB / 473.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.1549, allocations: 27.98 kB / 473.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006309/0.1556, allocations: 400.6 kB / 474.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.1558, allocations: 54.48 kB / 474.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.168e-05/0.1559, allocations: 8.859 kB / 474.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.1559, allocations: 4 kB / 474.3 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.1559, allocations: 34.56 kB / 474.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1559, allocations: 4 kB / 474.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000653/0.1566, allocations: 232 kB / 474.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.1567, allocations: 51.41 kB / 474.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008929/0.1576, allocations: 0.8652 MB / 475.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1576, allocations: 29.7 kB / 475.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.1578, allocations: 224 kB / 475.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.1578, allocations: 23.75 kB / 475.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.1579, allocations: 13.72 kB / 475.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.1581, allocations: 362.8 kB / 476.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.167e-05/0.1582, allocations: 19.98 kB / 476.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.491e-05/0.1582, allocations: 23.98 kB / 476.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.1584, allocations: 52.83 kB / 476.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1584, allocations: 4 kB / 476.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002299/0.1586, allocations: 129.6 kB / 476.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1587, allocations: 8 kB / 476.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1587, allocations: 0 / 476.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1587, allocations: 0 / 476.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.168e-05/0.1588, allocations: 11.98 kB / 476.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1588, allocations: 3.938 kB / 476.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.893e-05/0.1588, allocations: 4 kB / 476.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.1589, allocations: 15.97 kB / 476.4 MB, free: 6.785 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 (5): * Single equations (assignments): 5 * 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.0001891/0.1591, allocations: 217.7 kB / 476.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.1591, allocations: 39.53 kB / 476.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.1594, allocations: 141 kB / 476.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1594, allocations: 0 / 476.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1595, allocations: 3.938 kB / 476.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1595, allocations: 0 / 476.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/0.16, allocations: 478.4 kB / 477.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.16, allocations: 0 / 477.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.1601, allocations: 15.92 kB / 477.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1601, allocations: 3.938 kB / 477.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1601, allocations: 8 kB / 477.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1601, allocations: 3.938 kB / 477.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1601, allocations: 0 / 477.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.1604, allocations: 211 kB / 477.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/0.1604, allocations: 112.5 kB / 477.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.1605, allocations: 7.938 kB / 477.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.1606, allocations: 8.172 kB / 477.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.1606, allocations: 4 kB / 477.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-06/0.1606, allocations: 4 kB / 477.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006182/0.1613, allocations: 0.655 MB / 478.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1613, allocations: 4 kB / 478.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1615, allocations: 24 kB / 478.3 MB, free: 4.762 MB / 350.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 (5): * Single equations (assignments): 5 * 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.001407/0.163, allocations: 1.053 MB / 479.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.1632, allocations: 55.91 kB / 479.4 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1632, allocations: 0 / 479.4 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.107e-05/0.1633, allocations: 28.09 kB / 479.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.1638, allocations: 22.31 kB / 479.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004815/0.1686, allocations: 3.349 MB / 482.8 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005608/0.1692, allocations: 0.8221 MB / 483.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.632e-05/0.1693, allocations: 15.98 kB / 483.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.1694, allocations: 107.4 kB / 483.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1694, allocations: 0 / 483.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.1905, allocations: 5.787 MB / 489.6 MB, free: 9.637 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/0.1908, allocations: 245.8 kB / 489.8 MB, free: 9.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.036, allocations: 3.938 kB / 489.8 MB, free: 9.367 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches