Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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.001131/0.001131, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 204.6 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.361/1.361, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2507/0.2507, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 75.88 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1106, allocations: 62.44 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003311/0.1139, allocations: 1.698 MB / 481.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.115, allocations: 0.6 MB / 482.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/0.1151, allocations: 0 / 482.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.1153, allocations: 23.86 kB / 482.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.1156, allocations: 83.55 kB / 482.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.1161, allocations: 187.1 kB / 482.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.1163, allocations: 95.7 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1164, allocations: 19.98 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.497e-05/0.1165, allocations: 39.84 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.401e-05/0.1166, allocations: 51.77 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1166, allocations: 4 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.1168, allocations: 99.89 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.636e-05/0.1169, allocations: 27.89 kB / 483 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.9e-05/0.1169, allocations: 35.8 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.1172, allocations: 167.8 kB / 483.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1172, allocations: 7.938 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1172, allocations: 0 / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1173, allocations: 0 / 483.3 MB, free: 2.039 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.0006429/0.1179, allocations: 451 kB / 483.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1179, allocations: 8.031 kB / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.28e-05/0.118, allocations: 34.69 kB / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.118, allocations: 12.84 kB / 483.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.1182, allocations: 204.1 kB / 483.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.1183, allocations: 384 / 483.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.1183, allocations: 4.375 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.1186, allocations: 99.3 kB / 484 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1186, allocations: 0 / 484 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1186, allocations: 0 / 484 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1186, allocations: 0 / 484 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003156/0.1189, allocations: 75.86 kB / 484.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006076/0.1195, allocations: 356.5 kB / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.1198, allocations: 74.53 kB / 484.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.1201, allocations: 60.88 kB / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.1201, allocations: 3.938 kB / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.1201, allocations: 34.56 kB / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.1201, allocations: 0 / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001899/0.1221, allocations: 404.9 kB / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.329e-05/0.1222, allocations: 81.11 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.1224, allocations: 170.1 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.1224, allocations: 25.7 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.1225, allocations: 104.1 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.1225, allocations: 31.55 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.859e-05/0.1226, allocations: 29.7 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1228, allocations: 322.8 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.1231, allocations: 83.84 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.1234, allocations: 97.62 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005716/0.124, allocations: 164.7 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.124, allocations: 0 / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006478/0.1247, allocations: 213.3 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1247, allocations: 4.375 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1247, allocations: 4 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.1247, allocations: 0 / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.125, allocations: 43.95 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.125, allocations: 11.88 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.1251, allocations: 19.97 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.1252, allocations: 7.938 kB / 486.4 MB, free: 14.62 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 9.369e-05/0.1253, allocations: 121.8 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.1253, allocations: 11.91 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006928/0.126, allocations: 222.2 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.126, allocations: 0 / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.126, allocations: 3.938 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.126, allocations: 7.984 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009572/0.127, allocations: 0.5139 MB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.127, allocations: 7.938 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.1272, allocations: 43.89 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1272, allocations: 0 / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1272, allocations: 0 / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1272, allocations: 3.938 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.1273, allocations: 4.359 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006718/0.1279, allocations: 299.2 kB / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.128, allocations: 96.94 kB / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.128, allocations: 0 / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.1282, allocations: 31.97 kB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.1283, allocations: 11.98 kB / 487.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.1283, allocations: 0 / 487.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.1284, allocations: 127.5 kB / 487.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1284, allocations: 0 / 487.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003246/0.1287, allocations: 48 kB / 488 MB, free: 12.98 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.001911/0.1307, allocations: 1.225 MB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006803/0.1314, allocations: 191.7 kB / 489.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1314, allocations: 0 / 489.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.1317, allocations: 87.86 kB / 489.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.1321, allocations: 32.2 kB / 489.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/0.1351, allocations: 1.922 MB / 491.4 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1354, allocations: 0.708 MB / 492.1 MB, free: 8.859 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.1356, allocations: 32.52 kB / 492.1 MB, free: 8.828 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.046e-05/0.1357, allocations: 39.41 kB / 492.2 MB, free: 8.789 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1357, allocations: 0 / 492.2 MB, free: 8.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/0.1692, allocations: 4.291 MB / 496.5 MB, free: 4.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.031, allocations: 11.12 kB / 496.5 MB, free: 4.57 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches