Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.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.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19",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.001104/0.001104, allocations: 97.5 kB / 16.26 MB, free: 5.93 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.001047/0.001047, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.48/1.48, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.237/0.237, allocations: 43.53 MB / 313.9 MB, free: 0.5234 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.00191/0.00191, allocations: 70.03 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.137, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003762/0.1409, allocations: 1.842 MB / 442.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1423, allocations: 0.7291 MB / 443.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002138/0.1425, allocations: 8 kB / 443.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005835/0.1432, allocations: 259.2 kB / 443.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004531/0.1436, allocations: 191.3 kB / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.1451, allocations: 0.5902 MB / 444.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004743/0.1456, allocations: 275.3 kB / 444.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.1458, allocations: 52.36 kB / 444.6 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.146, allocations: 119.6 kB / 444.7 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.1462, allocations: 195.3 kB / 444.9 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.1463, allocations: 4 kB / 444.9 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.1465, allocations: 47.98 kB / 444.9 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.1466, allocations: 87.73 kB / 445 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.1467, allocations: 111 kB / 445.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.1471, allocations: 282.9 kB / 445.4 MB, free: 2.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1471, allocations: 0 / 445.4 MB, free: 2.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1471, allocations: 0 / 445.4 MB, free: 2.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.1471, allocations: 0 / 445.4 MB, free: 2.039 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007966/0.1479, allocations: 0.6262 MB / 446 MB, free: 1.363 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.148, allocations: 11.89 kB / 446 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.148, allocations: 38.75 kB / 446.1 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.1481, allocations: 36.47 kB / 446.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/0.1486, allocations: 330.1 kB / 446.4 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.1486, allocations: 384 / 446.4 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.1486, allocations: 12.36 kB / 446.4 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.1489, allocations: 89.59 kB / 446.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1489, allocations: 4 kB / 446.5 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.1489, allocations: 8 kB / 446.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.1489, allocations: 0 / 446.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.1491, allocations: 75.88 kB / 446.6 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.1497, allocations: 468.4 kB / 447.1 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.1498, allocations: 74.48 kB / 447.1 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.293e-05/0.1499, allocations: 32.97 kB / 447.2 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.1499, allocations: 4 kB / 447.2 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.1499, allocations: 34.55 kB / 447.2 MB, free: 48 kB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1499, allocations: 0 / 447.2 MB, free: 48 kB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004042/0.1504, allocations: 149.3 kB / 447.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.1504, allocations: 55.34 kB / 447.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000617/0.151, allocations: 0.5604 MB / 448 MB, free: 15.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1511, allocations: 25.7 kB / 448 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.1512, allocations: 196 kB / 448.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.1513, allocations: 19.73 kB / 448.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.1513, allocations: 17.72 kB / 448.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1515, allocations: 354.7 kB / 448.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.205e-05/0.1516, allocations: 23.98 kB / 448.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.854e-05/0.1516, allocations: 31.92 kB / 448.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.1518, allocations: 77.19 kB / 448.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1518, allocations: 0 / 448.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002432/0.152, allocations: 121.2 kB / 448.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.1521, allocations: 8 kB / 448.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1521, allocations: 0 / 448.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.1521, allocations: 3.938 kB / 448.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1522, allocations: 11.94 kB / 448.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.1522, allocations: 4 kB / 448.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.363e-05/0.1523, allocations: 15.89 kB / 448.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1523, allocations: 0 / 448.9 MB, free: 14.33 MB / 334.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 (6): * Single equations (assignments): 6 * 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.000186/0.1525, allocations: 177.7 kB / 449 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.241e-05/0.1526, allocations: 31.62 kB / 449.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.1529, allocations: 148.8 kB / 449.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.153, allocations: 7.938 kB / 449.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.153, allocations: 0 / 449.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.153, allocations: 4 kB / 449.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.1534, allocations: 293.4 kB / 449.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1534, allocations: 0 / 449.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-05/0.1534, allocations: 19.92 kB / 449.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1534, allocations: 0 / 449.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1535, allocations: 0 / 449.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1535, allocations: 3.938 kB / 449.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1535, allocations: 0 / 449.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.1538, allocations: 231.2 kB / 449.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.226e-05/0.1539, allocations: 108.7 kB / 449.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.154, allocations: 7.984 kB / 449.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.874e-05/0.1541, allocations: 7.938 kB / 449.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.1541, allocations: 4 kB / 449.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.1541, allocations: 0 / 449.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004784/0.1546, allocations: 415.1 kB / 450.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1546, allocations: 0 / 450.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002998/0.1549, allocations: 35.91 kB / 450.3 MB, free: 12.77 MB / 334.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 (6): * Single equations (assignments): 6 * 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.002119/0.1571, allocations: 1.261 MB / 451.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.1573, allocations: 71.89 kB / 451.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.1573, allocations: 4 kB / 451.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.946e-05/0.1574, allocations: 31.98 kB / 451.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005925/0.158, allocations: 76.47 kB / 451.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.1618, allocations: 2.848 MB / 454.6 MB, free: 8.453 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.1623, allocations: 0.806 MB / 455.4 MB, free: 7.621 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.1624, allocations: 49.48 kB / 455.5 MB, free: 7.574 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.1626, allocations: 99.39 kB / 455.6 MB, free: 7.477 MB / 334.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1626, allocations: 0 / 455.6 MB, free: 7.477 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.1891, allocations: 6.498 MB / 462.1 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/7.751, allocations: 11.78 kB / 462.1 MB, free: 0.918 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches