Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",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.001288/0.001287, 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.001392/0.001392, 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.516/1.516, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2007/0.2007, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001333, allocations: 57.09 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1046, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003376/0.108, allocations: 1.576 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007182/0.1087, allocations: 415.2 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.353e-05/0.1088, allocations: 7.938 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.1091, allocations: 71.77 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.1093, allocations: 67.73 kB / 471.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.1097, allocations: 111.2 kB / 471.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.1099, allocations: 71.83 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.11, allocations: 16.17 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.129e-05/0.1101, allocations: 35.84 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1102, allocations: 55.88 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.1102, allocations: 7.938 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1104, allocations: 43.98 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.555e-05/0.1104, allocations: 15.98 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.1105, allocations: 31.73 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.1107, allocations: 99.94 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.1107, allocations: 0 / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1107, allocations: 3.938 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.1107, allocations: 3.938 kB / 472 MB, free: 11.65 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.000501/0.1112, allocations: 414 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1113, allocations: 8.031 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.361e-05/0.1113, allocations: 30.75 kB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.1114, allocations: 12.84 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.1116, allocations: 196.1 kB / 472.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1116, allocations: 4.375 kB / 472.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.1116, allocations: 12.03 kB / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.1118, allocations: 53.61 kB / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1118, allocations: 7.984 kB / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.1118, allocations: 0 / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1118, allocations: 4 kB / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.553e-05/0.1119, allocations: 27.98 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.1124, allocations: 304.7 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.1125, allocations: 46.5 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.1125, allocations: 20.94 kB / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1126, allocations: 0 / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1126, allocations: 34.56 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1126, allocations: 0 / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009216/0.1135, allocations: 229.5 kB / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.1136, allocations: 55.34 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.1138, allocations: 210.2 kB / 473.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1138, allocations: 25.7 kB / 473.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.1139, allocations: 112 kB / 473.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.1139, allocations: 19.66 kB / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.1139, allocations: 17.72 kB / 473.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1141, allocations: 330.8 kB / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.322e-05/0.1141, allocations: 27.97 kB / 474.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.123e-05/0.1142, allocations: 31.92 kB / 474.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.1144, allocations: 76.88 kB / 474.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1144, allocations: 7.938 kB / 474.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002116/0.1146, allocations: 109.5 kB / 474.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1147, allocations: 12 kB / 474.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1147, allocations: 0 / 474.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1147, allocations: 0 / 474.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1148, allocations: 16.03 kB / 474.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1148, allocations: 3.938 kB / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.583e-05/0.1149, allocations: 19.91 kB / 474.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1149, allocations: 4 kB / 474.4 MB, free: 8.984 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 (8): * Single equations (assignments): 8 * 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.465e-05/0.115, allocations: 121.8 kB / 474.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.115, allocations: 15.91 kB / 474.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.1153, allocations: 126.6 kB / 474.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1153, allocations: 7.938 kB / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1153, allocations: 3.938 kB / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1153, allocations: 0 / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005397/0.1159, allocations: 423.2 kB / 475.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1159, allocations: 3.938 kB / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.116, allocations: 19.92 kB / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.116, allocations: 0 / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.116, allocations: 8 kB / 475.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.116, allocations: 0 / 475.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.116, allocations: 0 / 475.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.1163, allocations: 212.3 kB / 475.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.1163, allocations: 88.95 kB / 475.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.1164, allocations: 3.984 kB / 475.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.1164, allocations: 4 kB / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.1165, allocations: 15.92 kB / 475.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.1165, allocations: 4 kB / 475.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.1166, allocations: 151.2 kB / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1166, allocations: 4 kB / 475.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1169, allocations: 16 kB / 475.6 MB, free: 7.668 MB / 350.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 (8): * Single equations (assignments): 8 * 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.001404/0.1183, allocations: 1.101 MB / 476.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000303/0.1186, allocations: 79.88 kB / 476.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1186, allocations: 0 / 476.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.629e-05/0.1187, allocations: 43.92 kB / 476.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.1191, allocations: 25.19 kB / 476.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.121, allocations: 1.668 MB / 478.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.1213, allocations: 0.7119 MB / 479.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.484e-05/0.1214, allocations: 20.66 kB / 479.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.216e-05/0.1215, allocations: 35.42 kB / 479.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1215, allocations: 3.938 kB / 479.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.1416, allocations: 2.993 MB / 482.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.356/7.497, allocations: 8.703 kB / 482.3 MB, free: 1.098 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches