Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23",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.001513/0.001513, allocations: 109.5 kB / 16.41 MB, free: 6.445 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.001609/0.00161, allocations: 185.4 kB / 17.34 MB, free: 5.738 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.501/1.501, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2067/0.2067, allocations: 43.53 MB / 314.1 MB, free: 460 kB / 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.001537/0.001537, allocations: 63.91 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1271, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004433/0.1316, allocations: 2.039 MB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.134, allocations: 1.073 MB / 0.4904 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.1342, allocations: 4 kB / 0.4905 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.1346, allocations: 55.58 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005501/0.1352, allocations: 155.2 kB / 0.4907 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.1366, allocations: 0.5536 MB / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005621/0.1372, allocations: 307.1 kB / 0.4915 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.1374, allocations: 76.55 kB / 0.4916 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003526/0.1378, allocations: 139.4 kB / 0.4917 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003379/0.1381, allocations: 191.3 kB / 0.4919 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.906e-05/0.1382, allocations: 12 kB / 0.4919 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.1384, allocations: 43.97 kB / 0.4919 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.1386, allocations: 143.6 kB / 0.4921 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.1388, allocations: 178.6 kB / 0.4922 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00072/0.1396, allocations: 413.9 kB / 0.4926 GB, free: 6.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1396, allocations: 0 / 0.4926 GB, free: 6.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.39e-06/0.1396, allocations: 0 / 0.4926 GB, free: 6.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.517e-05/0.1396, allocations: 3.938 kB / 0.4926 GB, free: 6.922 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001615/0.1412, allocations: 0.8122 MB / 0.4934 GB, free: 6.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/0.1413, allocations: 11.89 kB / 0.4934 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.081e-05/0.1414, allocations: 46.73 kB / 0.4935 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.1416, allocations: 64.52 kB / 0.4935 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008048/0.1424, allocations: 468.3 kB / 0.494 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.1424, allocations: 12.38 kB / 0.494 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/0.1425, allocations: 11.94 kB / 0.494 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.1429, allocations: 155.3 kB / 0.4942 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.1429, allocations: 7.953 kB / 0.4942 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.1429, allocations: 7.938 kB / 0.4942 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.143, allocations: 8 kB / 0.4942 GB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003894/0.1434, allocations: 119.8 kB / 0.4943 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.1448, allocations: 0.7152 MB / 0.495 GB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.1452, allocations: 141.2 kB / 0.4951 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.1453, allocations: 65.8 kB / 0.4952 GB, free: 4.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.1454, allocations: 7.938 kB / 0.4952 GB, free: 4.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.1454, allocations: 42.5 kB / 0.4952 GB, free: 4.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.1454, allocations: 0 / 0.4952 GB, free: 4.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002281/0.1477, allocations: 0.753 MB / 0.496 GB, free: 3.285 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.1478, allocations: 77.11 kB / 0.4961 GB, free: 3.191 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.149, allocations: 0.8868 MB / 0.4969 GB, free: 2.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.1491, allocations: 29.7 kB / 0.4969 GB, free: 2.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.1493, allocations: 264.3 kB / 0.4972 GB, free: 2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.949e-05/0.1494, allocations: 67.44 kB / 0.4973 GB, free: 1.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1495, allocations: 45.64 kB / 0.4973 GB, free: 1.883 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.1498, allocations: 374.7 kB / 0.4977 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.1501, allocations: 107.9 kB / 0.4978 GB, free: 1.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.1504, allocations: 137.3 kB / 0.4979 GB, free: 1.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005927/0.151, allocations: 245.5 kB / 0.4981 GB, free: 1.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.151, allocations: 4.125 kB / 0.4981 GB, free: 1.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007494/0.1518, allocations: 345 kB / 0.4985 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1518, allocations: 8 kB / 0.4985 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1518, allocations: 0 / 0.4985 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.1518, allocations: 0 / 0.4985 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.1521, allocations: 59.94 kB / 0.4985 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1521, allocations: 0 / 0.4985 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.1524, allocations: 23.98 kB / 0.4986 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.1524, allocations: 11.92 kB / 0.4986 GB, free: 0.5703 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002516/0.1527, allocations: 221.6 kB / 0.4988 GB, free: 352 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.1528, allocations: 59.62 kB / 0.4988 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009344/0.1537, allocations: 410.7 kB / 0.4992 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.1538, allocations: 4 kB / 0.4992 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.1538, allocations: 0 / 0.4992 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1538, allocations: 0 / 0.4992 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.1555, allocations: 0.9546 MB / 0.5002 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1555, allocations: 4 kB / 0.5002 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.1557, allocations: 55.88 kB / 0.5002 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1558, allocations: 0 / 0.5002 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.1558, allocations: 12 kB / 0.5002 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1558, allocations: 3.938 kB / 0.5002 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1558, allocations: 4 kB / 0.5002 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009142/0.1567, allocations: 0.5022 MB / 0.5007 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/0.157, allocations: 152.7 kB / 0.5009 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/0.157, allocations: 7.938 kB / 0.5009 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.1573, allocations: 23.92 kB / 0.5009 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.56e-05/0.1574, allocations: 19.97 kB / 0.5009 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.1575, allocations: 7.984 kB / 0.5009 GB, free: 14.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008966/0.1584, allocations: 0.6552 MB / 0.5016 GB, free: 13.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1584, allocations: 4 kB / 0.5016 GB, free: 13.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004501/0.1588, allocations: 59.94 kB / 0.5016 GB, free: 13.32 MB / 398.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 (20): * Single equations (assignments): 20 * 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.002375/0.1612, allocations: 1.352 MB / 0.503 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007248/0.1619, allocations: 267.7 kB / 0.5032 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.162, allocations: 0 / 0.5032 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000384/0.1623, allocations: 143.8 kB / 0.5033 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006958/0.1631, allocations: 70.7 kB / 0.5034 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007534/0.1706, allocations: 5.375 MB / 0.5087 GB, free: 6.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/0.1712, allocations: 0.877 MB / 0.5095 GB, free: 5.148 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002691/0.1715, allocations: 103.2 kB / 0.5096 GB, free: 5.043 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.1718, allocations: 179.4 kB / 0.5098 GB, free: 4.867 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1718, allocations: 0 / 0.5098 GB, free: 4.867 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03066/0.2024, allocations: 10.32 MB / 0.5199 GB, free: 10.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.479/8.682, allocations: 7.797 kB / 0.5199 GB, free: 10.5 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches