Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 222.9 MB / 242.3 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2156/0.2156, allocations: 44.18 MB / 336.6 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 64.47 kB / 408.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1118, allocations: 60.81 MB / 469.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003108/0.115, allocations: 1.619 MB / 471 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1163, allocations: 1.031 MB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.383e-05/0.1163, allocations: 0 / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.1165, allocations: 23.84 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.1167, allocations: 47.78 kB / 472.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.1171, allocations: 135.2 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.1172, allocations: 63.78 kB / 472.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1173, allocations: 16.17 kB / 472.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.412e-05/0.1174, allocations: 27.92 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.1175, allocations: 31.83 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.1176, allocations: 4 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1177, allocations: 55.92 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.193e-05/0.1177, allocations: 19.92 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.1178, allocations: 23.86 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.118, allocations: 107.9 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.118, allocations: 0 / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.118, allocations: 4 kB / 472.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.118, allocations: 0 / 472.6 MB, free: 11.1 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.0004908/0.1185, allocations: 391.2 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1185, allocations: 12.03 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.933e-05/0.1186, allocations: 34.75 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.1186, allocations: 4.938 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.1188, allocations: 196.1 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1188, allocations: 384 / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.1188, allocations: 8.125 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.119, allocations: 79.33 kB / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.119, allocations: 0 / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1191, allocations: 4 kB / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1191, allocations: 0 / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.1192, allocations: 31.97 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.1195, allocations: 288.8 kB / 473.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.1196, allocations: 50.5 kB / 473.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.742e-05/0.1197, allocations: 20.94 kB / 473.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.1198, allocations: 4 kB / 473.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.1198, allocations: 30.56 kB / 473.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1198, allocations: 0 / 473.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007467/0.1205, allocations: 209.3 kB / 473.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.1206, allocations: 77.11 kB / 474 MB, free: 9.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.1207, allocations: 145.9 kB / 474.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.1208, allocations: 25.7 kB / 474.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.1208, allocations: 104 kB / 474.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.1209, allocations: 19.72 kB / 474.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.1209, allocations: 17.72 kB / 474.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.736e-05/0.121, allocations: 322.8 kB / 474.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.1211, allocations: 27.97 kB / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.1212, allocations: 57.75 kB / 474.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.1215, allocations: 68.75 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1215, allocations: 0 / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002742/0.1218, allocations: 117.5 kB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1218, allocations: 4 kB / 474.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1218, allocations: 8.031 kB / 474.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1218, allocations: 0 / 474.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1219, allocations: 23.97 kB / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1219, allocations: 7.875 kB / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.618e-05/0.122, allocations: 11.94 kB / 474.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.122, allocations: 0 / 474.9 MB, free: 8.492 MB / 350.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 (7): * Single equations (assignments): 7 * 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.123e-05/0.1221, allocations: 121.8 kB / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.1222, allocations: 11.91 kB / 475 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.1225, allocations: 118.3 kB / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1225, allocations: 4.281 kB / 475.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1225, allocations: 3.938 kB / 475.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1225, allocations: 0 / 475.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.123, allocations: 394.4 kB / 475.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.123, allocations: 3.984 kB / 475.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.413e-05/0.1231, allocations: 19.98 kB / 475.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1231, allocations: 3.938 kB / 475.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.1231, allocations: 4 kB / 475.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1231, allocations: 0 / 475.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1231, allocations: 0 / 475.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.1234, allocations: 211.7 kB / 475.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.1235, allocations: 85 kB / 475.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.1235, allocations: 7.938 kB / 475.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.861e-05/0.1236, allocations: 8 kB / 475.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.1237, allocations: 11.92 kB / 475.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1237, allocations: 0 / 475.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.048e-05/0.1238, allocations: 117.9 kB / 476 MB, free: 7.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1238, allocations: 0 / 476 MB, free: 7.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00026/0.124, allocations: 24 kB / 476 MB, free: 7.262 MB / 350.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 (7): * Single equations (assignments): 7 * 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.001415/0.1255, allocations: 1.073 MB / 477.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002978/0.1258, allocations: 79.92 kB / 477.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1258, allocations: 4 kB / 477.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.1259, allocations: 43.91 kB / 477.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.1263, allocations: 19.92 kB / 477.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.128, allocations: 1.536 MB / 478.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.1283, allocations: 0.6962 MB / 479.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.186e-05/0.1284, allocations: 17.11 kB / 479.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/0.1285, allocations: 31.42 kB / 479.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of SimCode: time 2.104e-06/0.1285, allocations: 3.938 kB / 479.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.1497, allocations: 2.954 MB / 482.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/7.731, allocations: 22.89 kB / 482.5 MB, free: 0.8945 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches