Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001385/0.001385, 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.001639/0.00164, 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.391/1.391, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2093/0.2093, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 78.84 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1083, allocations: 62.43 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003681/0.112, allocations: 2.035 MB / 482.2 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.1141, allocations: 1.255 MB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.1143, allocations: 4 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.1147, allocations: 47.53 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005435/0.1152, allocations: 199.2 kB / 483.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.1163, allocations: 444.9 kB / 484.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.1167, allocations: 295.2 kB / 484.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.1168, allocations: 53 kB / 484.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.1171, allocations: 139.4 kB / 484.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.1173, allocations: 183.3 kB / 484.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.1174, allocations: 12 kB / 484.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.1175, allocations: 67.97 kB / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.1177, allocations: 135.6 kB / 485 MB, free: 368 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.1178, allocations: 174.6 kB / 485.1 MB, free: 192 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.1182, allocations: 398.4 kB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1182, allocations: 0 / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1183, allocations: 4 kB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.1183, allocations: 0 / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009996/0.1193, allocations: 0.7967 MB / 486.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.1193, allocations: 12.03 kB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/0.1194, allocations: 38.75 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003133/0.1197, allocations: 80.16 kB / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000556/0.1203, allocations: 459.8 kB / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1203, allocations: 8.375 kB / 486.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.1203, allocations: 19.94 kB / 486.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.1206, allocations: 132.6 kB / 487.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1206, allocations: 4 kB / 487.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1206, allocations: 0 / 487.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1206, allocations: 4 kB / 487.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.1208, allocations: 75.95 kB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008372/0.1217, allocations: 0.6954 MB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.1219, allocations: 105.2 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.476e-05/0.122, allocations: 46.05 kB / 488 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.122, allocations: 15.8 kB / 488 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.122, allocations: 38.5 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.122, allocations: 4 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001345/0.1234, allocations: 0.5212 MB / 488.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.1234, allocations: 81.09 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009045/0.1243, allocations: 0.9181 MB / 489.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1244, allocations: 29.7 kB / 489.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.1246, allocations: 264.2 kB / 489.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.1246, allocations: 55.27 kB / 489.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.1247, allocations: 29.7 kB / 489.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1248, allocations: 378.7 kB / 490.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.125, allocations: 59.95 kB / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.1251, allocations: 73.61 kB / 490.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.1255, allocations: 141.6 kB / 490.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1255, allocations: 0 / 490.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00043/0.1259, allocations: 221.1 kB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1259, allocations: 6.5 kB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1259, allocations: 4 kB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.126, allocations: 4 kB / 490.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.1262, allocations: 43.91 kB / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.1262, allocations: 4.062 kB / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.1263, allocations: 11.98 kB / 490.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.1263, allocations: 4 kB / 490.9 MB, free: 10.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0001741/0.1265, allocations: 217.7 kB / 491.1 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.1266, allocations: 63.23 kB / 491.1 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005173/0.1271, allocations: 255.3 kB / 491.4 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1272, allocations: 4 kB / 491.4 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1272, allocations: 3.938 kB / 491.4 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1272, allocations: 0 / 491.4 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009387/0.1281, allocations: 0.7942 MB / 492.2 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1281, allocations: 0 / 492.2 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.1283, allocations: 35.97 kB / 492.2 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1283, allocations: 0 / 492.2 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.1283, allocations: 8 kB / 492.2 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.1283, allocations: 7.938 kB / 492.2 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1283, allocations: 7.875 kB / 492.2 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004576/0.1288, allocations: 394.3 kB / 492.6 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.1289, allocations: 156.3 kB / 492.8 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.129, allocations: 4 kB / 492.8 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.1292, allocations: 19.92 kB / 492.8 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.1292, allocations: 11.98 kB / 492.8 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.1293, allocations: 8 kB / 492.8 MB, free: 8.102 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006189/0.1299, allocations: 0.6786 MB / 493.5 MB, free: 7.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1299, allocations: 0 / 493.5 MB, free: 7.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003305/0.1302, allocations: 52 kB / 493.5 MB, free: 7.379 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001388/0.1316, allocations: 1.229 MB / 494.8 MB, free: 6.258 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003693/0.132, allocations: 155.8 kB / 494.9 MB, free: 6.105 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.132, allocations: 3.938 kB / 494.9 MB, free: 6.102 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.1322, allocations: 79.89 kB / 495 MB, free: 6.023 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.1328, allocations: 77.31 kB / 495.1 MB, free: 5.953 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005322/0.1381, allocations: 5.224 MB / 0.4886 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.1385, allocations: 0.8575 MB / 0.4894 GB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001566/0.1386, allocations: 75.86 kB / 0.4895 GB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.1388, allocations: 175.4 kB / 0.4897 GB, free: 15.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1388, allocations: 0 / 0.4897 GB, free: 15.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/0.2451, allocations: 9.731 MB / 0.4992 GB, free: 5.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.92, allocations: 9 kB / 0.4992 GB, free: 5.832 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_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_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches