Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.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.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19",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.001327/0.001327, allocations: 103.2 kB / 16.27 MB, free: 5.898 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.00172/0.00172, allocations: 187.7 kB / 17.19 MB, free: 5.543 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.513/1.513, 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.2076/0.2076, allocations: 43.53 MB / 313.9 MB, free: 0.5273 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.001399/0.001399, allocations: 69.53 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09758/0.099, allocations: 57.8 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.002497/0.1015, allocations: 1.834 MB / 442.5 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000915/0.1025, allocations: 0.7291 MB / 443.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.428e-05/0.1026, allocations: 4 kB / 443.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.1029, allocations: 259.2 kB / 443.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.1032, allocations: 195.2 kB / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009079/0.1041, allocations: 0.586 MB / 444.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.1043, allocations: 275.3 kB / 444.5 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.1044, allocations: 52.38 kB / 444.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.444e-05/0.1045, allocations: 127.5 kB / 444.7 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.1047, allocations: 183.4 kB / 444.9 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.1047, allocations: 8 kB / 444.9 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.535e-05/0.1048, allocations: 51.97 kB / 444.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.488e-05/0.1049, allocations: 83.69 kB / 445 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.551e-05/0.105, allocations: 115 kB / 445.1 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.1052, allocations: 275 kB / 445.4 MB, free: 2.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1052, allocations: 3.984 kB / 445.4 MB, free: 2.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1052, allocations: 0 / 445.4 MB, free: 2.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1052, allocations: 0 / 445.4 MB, free: 2.047 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005312/0.1058, allocations: 0.6223 MB / 446 MB, free: 1.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.1058, allocations: 11.89 kB / 446 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.033e-05/0.1058, allocations: 42.73 kB / 446.1 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.1059, allocations: 36.47 kB / 446.1 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.1062, allocations: 326.1 kB / 446.4 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1062, allocations: 4.375 kB / 446.4 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.1062, allocations: 12.38 kB / 446.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.1064, allocations: 93.58 kB / 446.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1064, allocations: 0 / 446.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1064, allocations: 4 kB / 446.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1064, allocations: 0 / 446.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.1066, allocations: 75.83 kB / 446.6 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.1071, allocations: 468.4 kB / 447 MB, free: 228 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.1072, allocations: 78.47 kB / 447.1 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.125e-05/0.1073, allocations: 32.97 kB / 447.2 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.1073, allocations: 3.984 kB / 447.2 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.1073, allocations: 30.56 kB / 447.2 MB, free: 60 kB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.1073, allocations: 4 kB / 447.2 MB, free: 56 kB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003748/0.1077, allocations: 149.3 kB / 447.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.1078, allocations: 59.28 kB / 447.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005883/0.1084, allocations: 0.5604 MB / 448 MB, free: 15.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.1084, allocations: 25.7 kB / 448 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.1086, allocations: 196 kB / 448.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.1086, allocations: 15.75 kB / 448.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.1086, allocations: 29.7 kB / 448.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1088, allocations: 346.8 kB / 448.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.1e-05/0.1089, allocations: 27.98 kB / 448.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.632e-05/0.109, allocations: 27.92 kB / 448.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.1091, allocations: 69.19 kB / 448.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1091, allocations: 0 / 448.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002113/0.1093, allocations: 125.2 kB / 448.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1093, allocations: 8 kB / 448.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1093, allocations: 3.938 kB / 448.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1094, allocations: 3.938 kB / 448.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.95e-05/0.1095, allocations: 15.98 kB / 448.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1095, allocations: 0 / 448.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.263e-05/0.1095, allocations: 7.906 kB / 448.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1096, allocations: 3.938 kB / 448.8 MB, free: 14.34 MB / 334.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 (6): * Single equations (assignments): 6 * 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.0001488/0.1097, allocations: 177.7 kB / 449 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.1098, allocations: 31.62 kB / 449.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.1101, allocations: 168.7 kB / 449.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1101, allocations: 3.938 kB / 449.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1101, allocations: 0 / 449.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1101, allocations: 0 / 449.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.1104, allocations: 285.5 kB / 449.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1104, allocations: 0 / 449.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/0.1105, allocations: 12 kB / 449.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1105, allocations: 0 / 449.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1105, allocations: 0 / 449.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1105, allocations: 11.92 kB / 449.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1105, allocations: 0 / 449.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.1108, allocations: 223 kB / 449.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.1109, allocations: 112.7 kB / 449.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.1109, allocations: 0 / 449.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.422e-05/0.111, allocations: 8.125 kB / 449.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.111, allocations: 15.92 kB / 449.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.111, allocations: 4 kB / 449.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003675/0.1114, allocations: 419.1 kB / 450.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1114, allocations: 0 / 450.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.1117, allocations: 31.91 kB / 450.3 MB, free: 12.77 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 (6): * Single equations (assignments): 6 * 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.001655/0.1134, allocations: 1.261 MB / 451.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.1136, allocations: 67.91 kB / 451.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1136, allocations: 0 / 451.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.327e-05/0.1136, allocations: 35.97 kB / 451.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005404/0.1142, allocations: 72.52 kB / 451.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.117, allocations: 2.844 MB / 454.6 MB, free: 8.473 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.1174, allocations: 0.806 MB / 455.4 MB, free: 7.641 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.1175, allocations: 53.47 kB / 455.5 MB, free: 7.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.1176, allocations: 103.3 kB / 455.6 MB, free: 7.488 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1176, allocations: 0 / 455.6 MB, free: 7.488 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07505/0.1927, allocations: 6.502 MB / 462.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.345, allocations: 7.844 kB / 462.1 MB, free: 0.9297 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches