Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001106, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001124, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 46.09 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 78.38 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1245, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.00346/0.128, allocations: 1.659 MB / 481.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1291, allocations: 0.5767 MB / 482.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.509e-05/0.1292, allocations: 0 / 482.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005574/0.1298, allocations: 455.1 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004965/0.1303, allocations: 295.3 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.1308, allocations: 174.9 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.131, allocations: 175.6 kB / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1312, allocations: 19.97 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.1313, allocations: 107.8 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.1316, allocations: 215.5 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.1316, allocations: 4 kB / 483.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1317, allocations: 31.98 kB / 483.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.1318, allocations: 87.62 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.97e-05/0.1319, allocations: 99 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.1322, allocations: 263.2 kB / 484.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.1323, allocations: 11.98 kB / 484.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1323, allocations: 0 / 484.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1323, allocations: 0 / 484.3 MB, free: 1.012 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008122/0.1331, allocations: 0.6414 MB / 484.9 MB, free: 328 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.1332, allocations: 12.02 kB / 484.9 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.036e-05/0.1332, allocations: 34.69 kB / 484.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.504e-05/0.1333, allocations: 44.38 kB / 485 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.1336, allocations: 300.1 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.1336, allocations: 4.375 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.1337, allocations: 8.375 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.1339, allocations: 57.61 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1339, allocations: 0 / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1339, allocations: 4 kB / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1339, allocations: 0 / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.134, allocations: 31.91 kB / 485.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/0.1346, allocations: 408.6 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1349, allocations: 42.56 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.928e-05/0.1349, allocations: 24.94 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.135, allocations: 3.938 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.135, allocations: 34.5 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.135, allocations: 0 / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007125/0.1357, allocations: 243.9 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.1358, allocations: 51.41 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008848/0.1367, allocations: 0.8815 MB / 487.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.1367, allocations: 25.7 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.1369, allocations: 224.1 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.137, allocations: 19.73 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.137, allocations: 21.72 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1372, allocations: 358.8 kB / 487.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.29e-05/0.1373, allocations: 23.97 kB / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.814e-05/0.1373, allocations: 19.98 kB / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1375, allocations: 52.83 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1375, allocations: 0 / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002338/0.1378, allocations: 133 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1378, allocations: 6.5 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1378, allocations: 4 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.1378, allocations: 0 / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.1379, allocations: 11.98 kB / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1379, allocations: 0 / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.138, allocations: 11.94 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.138, allocations: 4 kB / 488 MB, free: 13.08 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 (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.000188/0.1382, allocations: 217.8 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.26e-05/0.1383, allocations: 43.44 kB / 488.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.1386, allocations: 141.1 kB / 488.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1386, allocations: 0 / 488.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.1386, allocations: 288 / 488.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1386, allocations: 3.938 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005335/0.1392, allocations: 474.8 kB / 488.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1392, allocations: 3.984 kB / 488.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/0.1392, allocations: 15.98 kB / 488.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1392, allocations: 0 / 488.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1393, allocations: 3.938 kB / 488.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1393, allocations: 0 / 488.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1393, allocations: 3.938 kB / 488.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.1397, allocations: 227 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.653e-05/0.1398, allocations: 116.5 kB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.1398, allocations: 3.938 kB / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.1399, allocations: 4 kB / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.1399, allocations: 7.984 kB / 489.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.1399, allocations: 4 kB / 489.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006881/0.1406, allocations: 0.6628 MB / 489.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1406, allocations: 0 / 489.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1409, allocations: 24 kB / 489.9 MB, free: 11.04 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.001323/0.1422, allocations: 1.05 MB / 490.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.1425, allocations: 59.95 kB / 491 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1425, allocations: 0 / 491 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.318e-05/0.1426, allocations: 27.92 kB / 491 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.1429, allocations: 37.47 kB / 491.1 MB, free: 9.988 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.1468, allocations: 3.312 MB / 494.4 MB, free: 6.578 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.1472, allocations: 0.826 MB / 495.2 MB, free: 5.727 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.01e-05/0.1473, allocations: 12.66 kB / 495.2 MB, free: 5.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.1474, allocations: 115.4 kB / 495.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1474, allocations: 4 kB / 495.3 MB, free: 5.598 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.1721, allocations: 5.96 MB / 0.4895 GB, free: 15.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.255/8.427, allocations: 15.64 kB / 0.4895 GB, free: 15.67 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_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_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches