Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",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.001598/0.001598, allocations: 113 kB / 17.33 MB, free: 6.012 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.001819/0.001818, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.443/1.443, allocations: 222.9 MB / 241.9 MB, free: 13.75 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.2438/0.2438, allocations: 44.18 MB / 336.3 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 64.06 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1531, allocations: 60.83 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003339/0.1565, allocations: 1.633 MB / 470.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008043/0.1573, allocations: 427.2 kB / 470.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/0.1574, allocations: 7.938 kB / 470.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.1577, allocations: 63.84 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.1579, allocations: 55.86 kB / 471 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.1582, allocations: 95.58 kB / 471.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.1584, allocations: 75.83 kB / 471.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1585, allocations: 16.17 kB / 471.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.585e-05/0.1585, allocations: 35.84 kB / 471.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.415e-05/0.1586, allocations: 43.89 kB / 471.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1587, allocations: 7.938 kB / 471.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.6e-05/0.1588, allocations: 43.98 kB / 471.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.1588, allocations: 15.98 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.047e-05/0.1589, allocations: 35.69 kB / 471.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.159, allocations: 99.91 kB / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1591, allocations: 0 / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1591, allocations: 0 / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1591, allocations: 0 / 471.5 MB, free: 11.98 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.0005004/0.1596, allocations: 399.1 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1596, allocations: 8.031 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.1597, allocations: 34.75 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.1597, allocations: 12.84 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.1599, allocations: 203.8 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1599, allocations: 4.375 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.16, allocations: 4.125 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1601, allocations: 57.61 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1601, allocations: 4 kB / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.1601, allocations: 3.938 kB / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1601, allocations: 0 / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.582e-05/0.1602, allocations: 23.98 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.1606, allocations: 300.7 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.1608, allocations: 54.44 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.054e-05/0.1608, allocations: 20.94 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.1609, allocations: 0 / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.1609, allocations: 34.56 kB / 472.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1609, allocations: 0 / 472.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009057/0.1618, allocations: 237.1 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.1619, allocations: 55.34 kB / 472.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.162, allocations: 190.2 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1621, allocations: 25.7 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.486e-05/0.1621, allocations: 100.1 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.1622, allocations: 35.48 kB / 473.2 MB, free: 10 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.1622, allocations: 21.72 kB / 473.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1624, allocations: 322.8 kB / 473.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.069e-05/0.1624, allocations: 31.97 kB / 473.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.779e-05/0.1625, allocations: 27.98 kB / 473.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.1627, allocations: 72.81 kB / 473.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1627, allocations: 0 / 473.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002051/0.1629, allocations: 113.5 kB / 473.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1629, allocations: 4 kB / 473.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1629, allocations: 0 / 473.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.163, allocations: 0 / 473.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.868e-05/0.1631, allocations: 27.92 kB / 473.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.1631, allocations: 3.938 kB / 473.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.999e-05/0.1631, allocations: 4 kB / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1631, allocations: 0 / 473.8 MB, free: 9.363 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 (8): * Single equations (assignments): 8 * 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 9.991e-05/0.1632, allocations: 129.8 kB / 474 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.1633, allocations: 8.328 kB / 474 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.1635, allocations: 134.6 kB / 474.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1636, allocations: 7.938 kB / 474.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1636, allocations: 7.922 kB / 474.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1636, allocations: 0 / 474.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.1641, allocations: 415.2 kB / 474.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1641, allocations: 7.938 kB / 474.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.776e-05/0.1642, allocations: 16.02 kB / 474.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1642, allocations: 4 kB / 474.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1642, allocations: 8 kB / 474.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1642, allocations: 0 / 474.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1642, allocations: 0 / 474.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.1645, allocations: 216.1 kB / 474.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.1645, allocations: 92.95 kB / 474.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.1645, allocations: 0 / 474.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.1646, allocations: 4 kB / 474.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.1647, allocations: 7.984 kB / 474.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1647, allocations: 4 kB / 474.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.1648, allocations: 148.9 kB / 475 MB, free: 8.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1648, allocations: 0 / 475 MB, free: 8.066 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.165, allocations: 16 kB / 475 MB, free: 8.051 MB / 350.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 (8): * Single equations (assignments): 8 * 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.001451/0.1665, allocations: 1.105 MB / 476.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.1667, allocations: 79.94 kB / 476.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1667, allocations: 0 / 476.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.774e-05/0.1668, allocations: 39.92 kB / 476.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.1672, allocations: 15.98 kB / 476.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.169, allocations: 1.664 MB / 477.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.1692, allocations: 0.7159 MB / 478.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.651e-05/0.1693, allocations: 16.59 kB / 478.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.1694, allocations: 35.42 kB / 478.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1694, allocations: 0 / 478.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.1832, allocations: 2.834 MB / 481.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/0.1835, allocations: 231.8 kB / 481.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.099, allocations: 0 / 481.8 MB, free: 1.426 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches