Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001052/0.001052, 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.001054/0.001054, allocations: 212.6 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.292/1.292, 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.1911/0.1911, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 78.5 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1034, allocations: 62.44 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002759/0.1062, allocations: 1.686 MB / 481.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008587/0.1071, allocations: 0.5455 MB / 482.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.1071, allocations: 0 / 482.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.1073, allocations: 79.7 kB / 482.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.1076, allocations: 111.6 kB / 482.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.1079, allocations: 127.3 kB / 482.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.1081, allocations: 83.81 kB / 482.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.156e-05/0.1082, allocations: 24.22 kB / 482.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.388e-05/0.1082, allocations: 47.78 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.98e-05/0.1083, allocations: 55.8 kB / 482.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1083, allocations: 4 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.756e-05/0.1084, allocations: 47.98 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.313e-05/0.1085, allocations: 23.92 kB / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.1085, allocations: 35.69 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.1087, allocations: 123.9 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1087, allocations: 4 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1087, allocations: 4 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.1087, allocations: 0 / 483.1 MB, free: 2.203 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.0004195/0.1091, allocations: 438.8 kB / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.579e-05/0.1092, allocations: 8.031 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.877e-05/0.1092, allocations: 30.75 kB / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.1092, allocations: 16.75 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.1094, allocations: 204.1 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.1094, allocations: 4.375 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.1094, allocations: 4.375 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.1096, allocations: 73.52 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1096, allocations: 4 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.1096, allocations: 4 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-06/0.1096, allocations: 0 / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.1098, allocations: 35.97 kB / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.1101, allocations: 324.6 kB / 484.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1103, allocations: 54.56 kB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.842e-05/0.1104, allocations: 24.97 kB / 484.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.1104, allocations: 0 / 484.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.1104, allocations: 42.55 kB / 484.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1104, allocations: 3.938 kB / 484.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00128/0.1117, allocations: 400.7 kB / 484.8 MB, free: 396 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.1117, allocations: 55.39 kB / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.1119, allocations: 218.4 kB / 485 MB, free: 100 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1119, allocations: 25.7 kB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.112, allocations: 112 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.112, allocations: 39.39 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.1121, allocations: 29.7 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.1122, allocations: 322.8 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.1123, allocations: 43.97 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.1124, allocations: 43.97 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.1127, allocations: 96.81 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1127, allocations: 3.984 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002836/0.113, allocations: 145.4 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.113, allocations: 8 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.113, allocations: 0 / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.113, allocations: 3.938 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1131, allocations: 23.98 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1131, allocations: 3.984 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.1132, allocations: 12 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.1132, allocations: 4 kB / 485.9 MB, free: 15.16 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 8.668e-05/0.1133, allocations: 133.8 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.1133, allocations: 11.81 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.1137, allocations: 159.5 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1137, allocations: 7.938 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.1137, allocations: 3.984 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1137, allocations: 3.938 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005788/0.1143, allocations: 495.9 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1143, allocations: 0 / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.751e-05/0.1144, allocations: 23.98 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1144, allocations: 0 / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.1145, allocations: 4 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1145, allocations: 4.062 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1145, allocations: 0 / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.1148, allocations: 257 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.1149, allocations: 96.94 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.1149, allocations: 4 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.583e-05/0.115, allocations: 11.98 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.115, allocations: 7.984 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.115, allocations: 4 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.1152, allocations: 172.8 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1152, allocations: 4 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.1154, allocations: 24 kB / 487.3 MB, free: 13.65 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.001349/0.1168, allocations: 1.139 MB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002803/0.1171, allocations: 115.8 kB / 488.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.1171, allocations: 4 kB / 488.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.1172, allocations: 59.89 kB / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.1175, allocations: 20 kB / 488.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.1195, allocations: 1.868 MB / 490.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.1197, allocations: 0.7119 MB / 491.2 MB, free: 9.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.394e-05/0.1198, allocations: 20.55 kB / 491.3 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.1198, allocations: 35.42 kB / 491.3 MB, free: 9.695 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1199, allocations: 4 kB / 491.3 MB, free: 9.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2779/0.3978, allocations: 3.403 MB / 494.7 MB, free: 6.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.611/10.01, allocations: 24.12 kB / 494.7 MB, free: 6.328 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_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_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches