Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test14",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.001571/0.001571, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.00188/0.00188, allocations: 189.4 kB / 17.19 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2257/0.2257, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 67.59 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1034, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test14): time 0.003383/0.1068, allocations: 1.601 MB / 442.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009895/0.1079, allocations: 0.9338 MB / 443.2 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.527e-05/0.1079, allocations: 4 kB / 443.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.1081, allocations: 23.86 kB / 443.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.1084, allocations: 43.78 kB / 443.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.1087, allocations: 111.4 kB / 443.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.1088, allocations: 59.78 kB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.109, allocations: 24.09 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.312e-05/0.109, allocations: 23.92 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.1092, allocations: 31.84 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.1092, allocations: 4 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1093, allocations: 55.97 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.631e-05/0.1094, allocations: 15.88 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.1094, allocations: 27.84 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.1097, allocations: 95.7 kB / 443.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1097, allocations: 0 / 443.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1097, allocations: 4 kB / 443.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1097, allocations: 0 / 443.7 MB, free: 3.738 MB / 318.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.0004763/0.1102, allocations: 403.2 kB / 444.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1102, allocations: 15.89 kB / 444.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.332e-05/0.1103, allocations: 30.75 kB / 444.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.1103, allocations: 8.844 kB / 444.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.1104, allocations: 195.7 kB / 444.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.1105, allocations: 384 / 444.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.1105, allocations: 12.06 kB / 444.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1106, allocations: 67.39 kB / 444.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1107, allocations: 4 kB / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1107, allocations: 4 kB / 444.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1107, allocations: 0 / 444.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.1108, allocations: 35.97 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.1111, allocations: 292.7 kB / 444.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.1112, allocations: 50.56 kB / 444.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.1113, allocations: 20.88 kB / 444.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.1113, allocations: 12.05 kB / 444.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.1113, allocations: 34.56 kB / 444.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.1113, allocations: 0 / 444.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006688/0.112, allocations: 201.2 kB / 445 MB, free: 2.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.1121, allocations: 77.11 kB / 445.1 MB, free: 2.105 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1122, allocations: 146 kB / 445.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.1122, allocations: 25.7 kB / 445.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.1122, allocations: 96.08 kB / 445.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.1122, allocations: 27.64 kB / 445.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.1123, allocations: 17.72 kB / 445.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.568e-05/0.1123, allocations: 322.8 kB / 445.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.1124, allocations: 31.97 kB / 445.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.951e-05/0.1125, allocations: 49.62 kB / 445.8 MB, free: 1.359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.1127, allocations: 72.84 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1127, allocations: 4 kB / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000246/0.113, allocations: 109.8 kB / 446 MB, free: 1.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.113, allocations: 4 kB / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.113, allocations: 0 / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1131, allocations: 4 kB / 446 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.1132, allocations: 27.92 kB / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.1132, allocations: 3.938 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.892e-05/0.1133, allocations: 15.97 kB / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.1133, allocations: 0 / 446 MB, free: 1.113 MB / 318.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 5.987e-05/0.1134, allocations: 117.8 kB / 446.2 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.1134, allocations: 7.906 kB / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/0.1137, allocations: 122.7 kB / 446.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1137, allocations: 7.984 kB / 446.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1138, allocations: 3.938 kB / 446.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1138, allocations: 0 / 446.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.1142, allocations: 398.4 kB / 446.7 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1142, allocations: 0 / 446.7 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.193e-05/0.1143, allocations: 19.98 kB / 446.7 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1143, allocations: 3.938 kB / 446.7 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1143, allocations: 0 / 446.7 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1143, allocations: 0 / 446.7 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1143, allocations: 3.984 kB / 446.7 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.1145, allocations: 211.3 kB / 446.9 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.1146, allocations: 81.11 kB / 447 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.1146, allocations: 7.938 kB / 447 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.677e-05/0.1147, allocations: 11.98 kB / 447 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.1147, allocations: 11.98 kB / 447 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1147, allocations: 3.938 kB / 447 MB, free: 12 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.1149, allocations: 111.2 kB / 447.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1149, allocations: 4 kB / 447.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.1151, allocations: 27.98 kB / 447.2 MB, free: 15.87 MB / 334.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.001387/0.1165, allocations: 1.078 MB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002889/0.1168, allocations: 75.94 kB / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1168, allocations: 0 / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.117, allocations: 47.91 kB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.1173, allocations: 18.02 kB / 448.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.1191, allocations: 1.527 MB / 449.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.1194, allocations: 0.7001 MB / 450.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.299e-05/0.1194, allocations: 12.66 kB / 450.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.511e-05/0.1195, allocations: 35.42 kB / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1195, allocations: 0 / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.1412, allocations: 2.951 MB / 453.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.656, allocations: 7.922 kB / 453.6 MB, free: 9.355 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches