Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001188, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2224/0.2224, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.00164, allocations: 78.3 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1153, allocations: 62.44 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003655/0.119, allocations: 1.7 MB / 481.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1201, allocations: 0.5649 MB / 482.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.204e-05/0.1202, allocations: 4 kB / 482.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.1205, allocations: 31.78 kB / 482.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004221/0.1209, allocations: 83.61 kB / 482.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.1214, allocations: 127 kB / 482.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1216, allocations: 95.7 kB / 482.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1218, allocations: 23.97 kB / 482.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1219, allocations: 31.86 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.44e-05/0.122, allocations: 43.77 kB / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.122, allocations: 8 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000234/0.1222, allocations: 107.9 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.665e-05/0.1223, allocations: 23.91 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.052e-05/0.1224, allocations: 35.8 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.1227, allocations: 163.8 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1228, allocations: 4 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1228, allocations: 0 / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1228, allocations: 0 / 483.2 MB, free: 2.137 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.0007123/0.1235, allocations: 450.9 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.1235, allocations: 8.031 kB / 483.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.1236, allocations: 34.75 kB / 483.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.1237, allocations: 8.844 kB / 483.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.1239, allocations: 204.1 kB / 483.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.1239, allocations: 4.375 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.124, allocations: 8.375 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.1242, allocations: 87.3 kB / 483.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.1243, allocations: 3.984 kB / 483.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1243, allocations: 0 / 483.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1243, allocations: 4 kB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.1246, allocations: 75.86 kB / 484 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.1251, allocations: 308.7 kB / 484.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.1254, allocations: 74.47 kB / 484.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.1255, allocations: 44.94 kB / 484.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1256, allocations: 4 kB / 484.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.1256, allocations: 38.5 kB / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.1256, allocations: 0 / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001666/0.1273, allocations: 376.9 kB / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.1274, allocations: 85.11 kB / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.1276, allocations: 169.2 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1276, allocations: 25.7 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/0.1277, allocations: 112.1 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.1277, allocations: 27.56 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.1278, allocations: 25.7 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1279, allocations: 322.8 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.1282, allocations: 71.86 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.1285, allocations: 89.64 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/0.1291, allocations: 144.8 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1291, allocations: 3.938 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000658/0.1298, allocations: 193.4 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1298, allocations: 8 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1298, allocations: 384 / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1298, allocations: 0 / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.13, allocations: 44.27 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.1301, allocations: 3.938 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.1302, allocations: 31.91 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.1302, allocations: 4 kB / 486.2 MB, free: 14.86 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 (10): * Single equations (assignments): 10 * 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.0001189/0.1304, allocations: 121.8 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.1304, allocations: 7.906 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007076/0.1311, allocations: 210.1 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1312, allocations: 0 / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.1312, allocations: 3.938 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1312, allocations: 0 / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009571/0.1321, allocations: 0.4905 MB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1322, allocations: 0 / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.1324, allocations: 43.83 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1324, allocations: 0 / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1324, allocations: 0 / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1324, allocations: 0 / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1324, allocations: 8 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.1331, allocations: 279.2 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.1331, allocations: 100.8 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.1332, allocations: 4 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.1334, allocations: 23.97 kB / 487.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.1334, allocations: 11.98 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.1334, allocations: 0 / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.1336, allocations: 132.5 kB / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1336, allocations: 4.281 kB / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003306/0.1339, allocations: 44 kB / 487.7 MB, free: 13.29 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 (9): * Single equations (assignments): 9 * 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.002118/0.136, allocations: 1.214 MB / 488.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006656/0.1367, allocations: 163.7 kB / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1367, allocations: 4 kB / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003173/0.1371, allocations: 83.86 kB / 489.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.1375, allocations: 18.98 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.1405, allocations: 1.836 MB / 491 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1408, allocations: 0.704 MB / 491.7 MB, free: 9.301 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.72e-05/0.1409, allocations: 24.52 kB / 491.7 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.109e-05/0.141, allocations: 39.42 kB / 491.7 MB, free: 9.238 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.141, allocations: 0 / 491.7 MB, free: 9.238 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.1653, allocations: 4.181 MB / 495.9 MB, free: 5.137 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.254/9.42, allocations: 7.766 kB / 495.9 MB, free: 5.137 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches