Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001002, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.09 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 79.28 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1186, allocations: 62.44 MB / 480.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003732/0.1224, allocations: 1.689 MB / 481.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1236, allocations: 0.5806 MB / 482.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.954e-05/0.1238, allocations: 4 kB / 482.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005553/0.1243, allocations: 459.1 kB / 482.8 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004639/0.1248, allocations: 291.3 kB / 483.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004771/0.1253, allocations: 179.2 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.1256, allocations: 183.6 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1257, allocations: 28.2 kB / 483.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.1258, allocations: 111.7 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.1261, allocations: 219.6 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.1261, allocations: 4 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.1263, allocations: 51.92 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.1264, allocations: 83.69 kB / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.875e-05/0.1265, allocations: 110.9 kB / 484.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.1269, allocations: 283.1 kB / 484.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1269, allocations: 3.984 kB / 484.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1269, allocations: 0 / 484.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1269, allocations: 0 / 484.4 MB, free: 0.8945 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008662/0.1278, allocations: 0.657 MB / 485 MB, free: 192 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.1278, allocations: 8.031 kB / 485 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.1279, allocations: 38.73 kB / 485.1 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/0.1279, allocations: 44.38 kB / 485.1 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.1283, allocations: 308 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1283, allocations: 8.375 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.1283, allocations: 4.375 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.1285, allocations: 65.59 kB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1285, allocations: 4 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1286, allocations: 4 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1286, allocations: 0 / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.1287, allocations: 51.83 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006013/0.1293, allocations: 412.7 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.1296, allocations: 70.56 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.382e-05/0.1297, allocations: 32.95 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.1297, allocations: 3.938 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.1297, allocations: 30.56 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.1297, allocations: 0 / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001587/0.1313, allocations: 0.5115 MB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.1314, allocations: 51.41 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007719/0.1322, allocations: 0.866 MB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.1322, allocations: 33.7 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.1324, allocations: 212.1 kB / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.1324, allocations: 39.44 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.1325, allocations: 29.7 kB / 487.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1326, allocations: 362.8 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.1327, allocations: 59.89 kB / 488.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.1329, allocations: 51.95 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.1332, allocations: 128.7 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1332, allocations: 4 kB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000372/0.1336, allocations: 197.3 kB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1336, allocations: 4 kB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1336, allocations: 0 / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1336, allocations: 7.938 kB / 488.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.1338, allocations: 27.92 kB / 488.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.1338, allocations: 0 / 488.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.571e-05/0.1339, allocations: 19.98 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1339, allocations: 0 / 488.7 MB, free: 12.36 MB / 366.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 (11): * Single equations (assignments): 11 * 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.0001842/0.1341, allocations: 217.8 kB / 488.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.254e-05/0.1341, allocations: 43.44 kB / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004595/0.1346, allocations: 241.2 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1346, allocations: 7.938 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1346, allocations: 0 / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1346, allocations: 4 kB / 489.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007953/0.1354, allocations: 0.5898 MB / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1355, allocations: 4.062 kB / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.1356, allocations: 36.09 kB / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1356, allocations: 96 / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1356, allocations: 7.938 kB / 489.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1356, allocations: 4 kB / 489.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1356, allocations: 0 / 489.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004298/0.1361, allocations: 312.4 kB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.186e-05/0.1361, allocations: 112.5 kB / 490.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.1362, allocations: 7.984 kB / 490.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.1363, allocations: 4 kB / 490.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.1364, allocations: 11.98 kB / 490.2 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1364, allocations: 4 kB / 490.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005934/0.137, allocations: 0.6628 MB / 490.9 MB, free: 9.984 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.137, allocations: 0 / 490.9 MB, free: 9.984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.1373, allocations: 32 kB / 490.9 MB, free: 9.953 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001606/0.1389, allocations: 1.178 MB / 492.1 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003654/0.1393, allocations: 143.7 kB / 492.3 MB, free: 8.766 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1393, allocations: 0 / 492.3 MB, free: 8.766 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.1395, allocations: 71.89 kB / 492.3 MB, free: 8.695 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.1399, allocations: 32.55 kB / 492.4 MB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004267/0.1441, allocations: 3.59 MB / 496 MB, free: 4.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.1446, allocations: 0.8338 MB / 496.8 MB, free: 4.121 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.1447, allocations: 36.52 kB / 496.8 MB, free: 4.086 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.1448, allocations: 127.4 kB / 496.9 MB, free: 3.961 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1448, allocations: 0 / 496.9 MB, free: 3.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.1681, allocations: 6.55 MB / 0.4917 GB, free: 13.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/8.398, allocations: 1.078 kB / 0.4917 GB, free: 13.46 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches