Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",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.001178/0.001178, allocations: 102.5 kB / 16.27 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.001224/0.001224, allocations: 188.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.385/1.385, 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.2303/0.2303, allocations: 43.53 MB / 313.9 MB, free: 0.5156 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.001464/0.001464, allocations: 75.69 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1335, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003156/0.1367, allocations: 1.651 MB / 442.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006734/0.1374, allocations: 371.4 kB / 442.6 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.1375, allocations: 3.938 kB / 442.6 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.1378, allocations: 31.84 kB / 442.7 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.138, allocations: 43.77 kB / 442.7 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.1384, allocations: 155 kB / 442.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.1385, allocations: 91.69 kB / 443 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1387, allocations: 16.23 kB / 443 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.465e-05/0.1387, allocations: 35.84 kB / 443 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.1388, allocations: 39.83 kB / 443 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1388, allocations: 4 kB / 443.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.139, allocations: 55.98 kB / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.321e-05/0.139, allocations: 19.91 kB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.1391, allocations: 35.8 kB / 443.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.1393, allocations: 119.7 kB / 443.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1393, allocations: 4 kB / 443.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1393, allocations: 0 / 443.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1393, allocations: 0 / 443.3 MB, free: 4.125 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006594/0.14, allocations: 434.9 kB / 443.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.14, allocations: 11.89 kB / 443.7 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.1401, allocations: 34.75 kB / 443.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.1401, allocations: 12.84 kB / 443.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.1403, allocations: 193.4 kB / 444 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.1403, allocations: 12.36 kB / 444 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.1404, allocations: 384 / 444 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.1407, allocations: 107.2 kB / 444.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1407, allocations: 3.938 kB / 444.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.1407, allocations: 0 / 444.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1407, allocations: 0 / 444.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.1411, allocations: 83.91 kB / 444.2 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.1416, allocations: 332.7 kB / 444.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.1418, allocations: 78.47 kB / 444.6 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.142, allocations: 44.94 kB / 444.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.142, allocations: 4 kB / 444.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.142, allocations: 38.56 kB / 444.6 MB, free: 2.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.142, allocations: 0 / 444.6 MB, free: 2.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.001574/0.1436, allocations: 388.9 kB / 445 MB, free: 2.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.1437, allocations: 85.19 kB / 445.1 MB, free: 2.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1438, allocations: 141.8 kB / 445.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.1438, allocations: 33.7 kB / 445.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.1439, allocations: 112 kB / 445.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.1439, allocations: 19.7 kB / 445.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.144, allocations: 21.72 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.222e-05/0.144, allocations: 322.8 kB / 445.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.1443, allocations: 71.92 kB / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.1446, allocations: 89.62 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/0.1451, allocations: 156.7 kB / 446.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1451, allocations: 0 / 446.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005667/0.1457, allocations: 193.4 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1457, allocations: 12 kB / 446.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1457, allocations: 0 / 446.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.1457, allocations: 0 / 446.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.1459, allocations: 43.83 kB / 446.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.1459, allocations: 0 / 446.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.1461, allocations: 19.97 kB / 446.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1461, allocations: 4 kB / 446.3 MB, free: 0.832 MB / 318.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 8.22e-05/0.1462, allocations: 130.8 kB / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.1462, allocations: 15.89 kB / 446.5 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006621/0.1469, allocations: 218.1 kB / 446.7 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1469, allocations: 3.938 kB / 446.7 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1469, allocations: 0 / 446.7 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1469, allocations: 0 / 446.7 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008387/0.1478, allocations: 498.7 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1478, allocations: 0 / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.148, allocations: 39.89 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.148, allocations: 0 / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.148, allocations: 4 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.148, allocations: 384 / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.148, allocations: 7.938 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006587/0.1487, allocations: 295.3 kB / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.856e-05/0.1488, allocations: 88.94 kB / 447.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.1488, allocations: 15.98 kB / 447.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.149, allocations: 23.97 kB / 447.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.1491, allocations: 7.984 kB / 447.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.1491, allocations: 4 kB / 447.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.883e-05/0.1492, allocations: 116.6 kB / 447.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1492, allocations: 0 / 447.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1495, allocations: 28 kB / 447.8 MB, free: 15.26 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 (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.001915/0.1514, allocations: 1.173 MB / 449 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006804/0.1521, allocations: 167.8 kB / 449.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1521, allocations: 0 / 449.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.1524, allocations: 83.86 kB / 449.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.1528, allocations: 29.86 kB / 449.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.1557, allocations: 1.824 MB / 451.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.1561, allocations: 0.7078 MB / 451.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.1562, allocations: 20.41 kB / 451.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.018e-05/0.1563, allocations: 39.41 kB / 451.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1563, allocations: 0 / 451.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.1789, allocations: 3.663 MB / 455.5 MB, free: 7.477 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.658/7.837, allocations: 4 kB / 455.5 MB, free: 7.473 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches