Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test29",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.001428/0.001428, allocations: 102.1 kB / 16.27 MB, free: 5.93 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.00139/0.00139, allocations: 193.4 kB / 17.2 MB, free: 5.574 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.417/1.417, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2207/0.2207, allocations: 43.52 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.001396/0.001397, allocations: 75.61 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09368/0.09509, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test29): time 0.002684/0.09783, allocations: 1.597 MB / 442.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004856/0.09833, allocations: 323.5 kB / 442.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.868e-05/0.0984, allocations: 0 / 442.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.09863, allocations: 71.78 kB / 442.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.09884, allocations: 63.73 kB / 442.7 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.0991, allocations: 111.7 kB / 442.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.09923, allocations: 71.77 kB / 442.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.993e-05/0.09934, allocations: 24.09 kB / 442.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.808e-05/0.09939, allocations: 27.92 kB / 442.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.189e-05/0.09948, allocations: 51.81 kB / 443 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.0995, allocations: 0 / 443 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.749e-05/0.09957, allocations: 39.98 kB / 443 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.638e-05/0.09963, allocations: 19.92 kB / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.09967, allocations: 31.75 kB / 443 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.09981, allocations: 103.6 kB / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.09982, allocations: 0 / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.09983, allocations: 0 / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.09984, allocations: 4 kB / 443.1 MB, free: 4.266 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.0004004/0.1002, allocations: 410.9 kB / 443.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1003, allocations: 11.89 kB / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.71e-05/0.1003, allocations: 34.75 kB / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.1004, allocations: 12.75 kB / 443.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.1005, allocations: 206.2 kB / 443.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1005, allocations: 4.375 kB / 443.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.1005, allocations: 4.125 kB / 443.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1007, allocations: 61.61 kB / 443.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1007, allocations: 0 / 443.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1007, allocations: 0 / 443.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1007, allocations: 0 / 443.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.1009, allocations: 39.84 kB / 443.9 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.1012, allocations: 300.8 kB / 444.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.1013, allocations: 46.5 kB / 444.3 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.353e-05/0.1014, allocations: 24.94 kB / 444.3 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.1014, allocations: 0 / 444.3 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.1014, allocations: 34.56 kB / 444.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1014, allocations: 4 kB / 444.3 MB, free: 2.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006749/0.1021, allocations: 221 kB / 444.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.1021, allocations: 55.41 kB / 444.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.1023, allocations: 207.3 kB / 444.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.1023, allocations: 33.7 kB / 444.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.1023, allocations: 100.1 kB / 444.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.1024, allocations: 27.64 kB / 444.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.1024, allocations: 17.72 kB / 445 MB, free: 2.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.902e-05/0.1025, allocations: 322.8 kB / 445.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.84e-05/0.1026, allocations: 35.97 kB / 445.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.743e-05/0.1027, allocations: 32.05 kB / 445.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.1028, allocations: 76.89 kB / 445.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1029, allocations: 0 / 445.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002233/0.1031, allocations: 117.5 kB / 445.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1031, allocations: 8 kB / 445.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1031, allocations: 4 kB / 445.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1031, allocations: 0 / 445.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1033, allocations: 19.98 kB / 445.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1033, allocations: 3.938 kB / 445.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.641e-05/0.1033, allocations: 7.984 kB / 445.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.1033, allocations: 4 kB / 445.6 MB, free: 1.594 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 6.533e-05/0.1034, allocations: 137.7 kB / 445.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.1034, allocations: 11.91 kB / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.1037, allocations: 127 kB / 445.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1037, allocations: 0 / 445.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1038, allocations: 3.938 kB / 445.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1038, allocations: 0 / 445.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.1042, allocations: 398.4 kB / 446.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1042, allocations: 4 kB / 446.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.328e-05/0.1043, allocations: 23.92 kB / 446.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.1043, allocations: 3.938 kB / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1043, allocations: 4 kB / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1043, allocations: 0 / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1043, allocations: 4 kB / 446.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.1046, allocations: 211.2 kB / 446.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.1046, allocations: 85 kB / 446.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.1046, allocations: 15.88 kB / 446.6 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.1047, allocations: 11.98 kB / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.1048, allocations: 4 kB / 446.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1048, allocations: 0 / 446.6 MB, free: 476 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.1049, allocations: 163.9 kB / 446.8 MB, free: 312 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1049, allocations: 0 / 446.8 MB, free: 312 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.1051, allocations: 16 kB / 446.8 MB, free: 296 kB / 318.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.001458/0.1066, allocations: 1.035 MB / 447.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.1069, allocations: 83.86 kB / 447.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1069, allocations: 0 / 447.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.107, allocations: 51.84 kB / 447.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.1074, allocations: 33.58 kB / 448 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.1094, allocations: 1.687 MB / 449.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.1097, allocations: 0.7118 MB / 450.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.334e-05/0.1097, allocations: 12.66 kB / 450.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.28e-05/0.1098, allocations: 31.42 kB / 450.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1098, allocations: 0 / 450.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.1288, allocations: 2.953 MB / 453.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/7.665, allocations: 7.922 kB / 453.4 MB, free: 9.617 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches