Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",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.00114/0.00114, allocations: 106.2 kB / 17.21 MB, free: 6.293 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.001026/0.001026, allocations: 194 kB / 18.12 MB, free: 5.383 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.425/1.425, allocations: 222.9 MB / 241.8 MB, free: 13.73 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.2296/0.2296, allocations: 44.18 MB / 336.1 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 64.61 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1555, allocations: 60.84 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003834/0.1594, allocations: 1.613 MB / 470.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008412/0.1602, allocations: 399.3 kB / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.448e-05/0.1603, allocations: 0 / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.1605, allocations: 19.92 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.1607, allocations: 27.86 kB / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.161, allocations: 79.84 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.1612, allocations: 55.84 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.393e-05/0.1613, allocations: 7.984 kB / 470.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.1614, allocations: 19.88 kB / 470.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.448e-05/0.1614, allocations: 27.84 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.1614, allocations: 0 / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.643e-05/0.1616, allocations: 27.98 kB / 470.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.1616, allocations: 15.94 kB / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.1617, allocations: 19.86 kB / 470.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.1618, allocations: 72.06 kB / 471 MB, free: 12.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1618, allocations: 0 / 471 MB, free: 12.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1618, allocations: 0 / 471 MB, free: 12.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1619, allocations: 0 / 471 MB, free: 12.33 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005059/0.1624, allocations: 371.3 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.1624, allocations: 12.03 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.1625, allocations: 38.73 kB / 471.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.1625, allocations: 8.844 kB / 471.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.1627, allocations: 192.1 kB / 471.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1627, allocations: 384 / 471.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.1628, allocations: 4.312 kB / 471.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.1629, allocations: 49.62 kB / 471.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1629, allocations: 7.984 kB / 471.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1629, allocations: 3.938 kB / 471.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.163, allocations: 0 / 471.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.655e-05/0.1631, allocations: 27.92 kB / 471.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.1635, allocations: 272.9 kB / 472 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.1637, allocations: 38.56 kB / 472 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.881e-05/0.1637, allocations: 12.86 kB / 472 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.1637, allocations: 0 / 472 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1638, allocations: 42.5 kB / 472.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1638, allocations: 0 / 472.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005619/0.1644, allocations: 141.4 kB / 472.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.1644, allocations: 59.33 kB / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.1645, allocations: 138.1 kB / 472.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.1646, allocations: 25.7 kB / 472.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.1646, allocations: 96.14 kB / 472.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.1647, allocations: 19.73 kB / 472.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.1647, allocations: 17.72 kB / 472.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1649, allocations: 322.8 kB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.129e-05/0.1649, allocations: 19.98 kB / 472.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.646e-05/0.165, allocations: 11.98 kB / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.1651, allocations: 48.84 kB / 472.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1651, allocations: 0 / 472.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001878/0.1653, allocations: 81.56 kB / 473 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1654, allocations: 4 kB / 473 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1654, allocations: 3.938 kB / 473 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1654, allocations: 256 / 473 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.45e-05/0.1655, allocations: 12.28 kB / 473 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1655, allocations: 4 kB / 473 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.048e-05/0.1655, allocations: 11.98 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1655, allocations: 11.92 kB / 473.1 MB, free: 10.03 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 8.73e-05/0.1656, allocations: 113.8 kB / 473.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.1657, allocations: 7.906 kB / 473.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.1659, allocations: 89.95 kB / 473.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1659, allocations: 3.938 kB / 473.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1659, allocations: 3.938 kB / 473.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1659, allocations: 3.984 kB / 473.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.1664, allocations: 346.5 kB / 473.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1664, allocations: 0 / 473.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.345e-05/0.1664, allocations: 8 kB / 473.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1664, allocations: 0 / 473.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1665, allocations: 0 / 473.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1665, allocations: 11.92 kB / 473.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1665, allocations: 0 / 473.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.1667, allocations: 183.3 kB / 473.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.1668, allocations: 81.02 kB / 473.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.1668, allocations: 0 / 473.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.1669, allocations: 11.92 kB / 473.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.1669, allocations: 4 kB / 473.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1669, allocations: 4 kB / 473.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.582e-05/0.167, allocations: 117.9 kB / 474 MB, free: 8.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.167, allocations: 0 / 474 MB, free: 8.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.1673, allocations: 12 kB / 474.1 MB, free: 8.941 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.00132/0.1686, allocations: 0.9999 MB / 475.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.1688, allocations: 55.89 kB / 475.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1688, allocations: 0 / 475.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.137e-05/0.1689, allocations: 27.92 kB / 475.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.1692, allocations: 15.94 kB / 475.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.1708, allocations: 1.404 MB / 476.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.1711, allocations: 0.6887 MB / 477.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.809e-05/0.1712, allocations: 16.22 kB / 477.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.1712, allocations: 19.44 kB / 477.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1712, allocations: 4 kB / 477.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.1844, allocations: 2.235 MB / 479.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/0.1846, allocations: 239.9 kB / 479.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.017, allocations: 3.938 kB / 479.8 MB, free: 3.324 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches