Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001118/0.001118, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001077, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2307/0.2307, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 78.91 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1528, allocations: 62.45 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003697/0.1566, allocations: 1.598 MB / 481.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1577, allocations: 0.5298 MB / 482.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.156e-05/0.1579, allocations: 0 / 482.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.1581, allocations: 27.8 kB / 482.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.1585, allocations: 79.67 kB / 482.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.1588, allocations: 95.08 kB / 482.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.159, allocations: 67.83 kB / 482.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1591, allocations: 8 kB / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.1592, allocations: 23.86 kB / 482.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.589e-05/0.1593, allocations: 23.86 kB / 482.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1593, allocations: 4 kB / 482.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1594, allocations: 27.98 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.347e-05/0.1595, allocations: 11.98 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.1596, allocations: 23.81 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.1597, allocations: 76.08 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1598, allocations: 0 / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1598, allocations: 0 / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1598, allocations: 0 / 482.7 MB, free: 2.609 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.0005097/0.1603, allocations: 395 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1603, allocations: 12.03 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.1604, allocations: 34.73 kB / 483.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.1604, allocations: 8.844 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.1606, allocations: 184.2 kB / 483.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1607, allocations: 4.375 kB / 483.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.1607, allocations: 4.375 kB / 483.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1608, allocations: 53.61 kB / 483.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1609, allocations: 3.984 kB / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1609, allocations: 0 / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.64e-05/0.1609, allocations: 7.938 kB / 483.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.509e-05/0.161, allocations: 19.98 kB / 483.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.1614, allocations: 272.9 kB / 483.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.1617, allocations: 42.56 kB / 483.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.844e-05/0.1617, allocations: 20.88 kB / 483.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1618, allocations: 4 kB / 483.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.1618, allocations: 30.56 kB / 483.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1618, allocations: 4 kB / 483.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006014/0.1624, allocations: 145.2 kB / 483.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.1625, allocations: 55.39 kB / 484 MB, free: 1.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1626, allocations: 148.6 kB / 484.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1627, allocations: 29.7 kB / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.1627, allocations: 92.12 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.1628, allocations: 23.8 kB / 484.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.1628, allocations: 13.72 kB / 484.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.163, allocations: 326.8 kB / 484.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-05/0.163, allocations: 15.98 kB / 484.6 MB, free: 488 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.413e-05/0.1631, allocations: 23.92 kB / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.1633, allocations: 44.83 kB / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1633, allocations: 4 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002006/0.1635, allocations: 85.7 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1635, allocations: 4 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1635, allocations: 4.062 kB / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1635, allocations: 0 / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.1636, allocations: 11.98 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.1636, allocations: 4 kB / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.1637, allocations: 7.922 kB / 484.8 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.1637, allocations: 11.94 kB / 484.8 MB, free: 276 kB / 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.0001036/0.1638, allocations: 113.8 kB / 484.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.1638, allocations: 7.906 kB / 484.9 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.1641, allocations: 93.91 kB / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1641, allocations: 0 / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.1641, allocations: 0 / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1641, allocations: 3.984 kB / 485 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/0.1646, allocations: 346.4 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1646, allocations: 0 / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.488e-05/0.1647, allocations: 23.92 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1647, allocations: 0 / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1647, allocations: 0 / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1647, allocations: 3.938 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1647, allocations: 0 / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.165, allocations: 179.4 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.165, allocations: 81.11 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.165, allocations: 0 / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.1651, allocations: 7.938 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.1651, allocations: 4.172 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.1652, allocations: 8 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.747e-05/0.1653, allocations: 114 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1653, allocations: 8 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1655, allocations: 23.89 kB / 485.8 MB, free: 15.17 MB / 366.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.001406/0.1669, allocations: 0.9999 MB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.1672, allocations: 51.95 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1672, allocations: 0 / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.489e-05/0.1673, allocations: 27.92 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.1677, allocations: 27.14 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.1693, allocations: 1.43 MB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.1696, allocations: 0.6924 MB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.1e-05/0.1697, allocations: 11.92 kB / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.1697, allocations: 23.44 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.775e-06/0.1697, allocations: 0 / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.1924, allocations: 2.456 MB / 491.5 MB, free: 9.508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/7.681, allocations: 11.73 kB / 491.5 MB, free: 9.504 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches