Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",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.001944/0.001944, allocations: 100.7 kB / 16.27 MB, free: 5.973 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.002142/0.002142, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.477/1.477, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2379/0.2379, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001882/0.001882, allocations: 66.88 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09037/0.09227, allocations: 57.78 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002726/0.09502, allocations: 1.667 MB / 442.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005363/0.09558, allocations: 371.4 kB / 442.6 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.09565, allocations: 0 / 442.6 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.09586, allocations: 27.86 kB / 442.7 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.09602, allocations: 47.7 kB / 442.7 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.09632, allocations: 155.3 kB / 442.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.09645, allocations: 83.7 kB / 443 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.886e-05/0.09655, allocations: 24.22 kB / 443 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.113e-05/0.0966, allocations: 35.84 kB / 443 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.654e-05/0.09667, allocations: 35.84 kB / 443 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.0967, allocations: 4 kB / 443.1 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.165e-05/0.09679, allocations: 55.97 kB / 443.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.09685, allocations: 27.86 kB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.0969, allocations: 31.8 kB / 443.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.09706, allocations: 119.7 kB / 443.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.09707, allocations: 4 kB / 443.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.09708, allocations: 4 kB / 443.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.09709, allocations: 3.938 kB / 443.3 MB, free: 4.117 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004903/0.09759, allocations: 426.9 kB / 443.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.09762, allocations: 15.89 kB / 443.7 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.464e-05/0.09765, allocations: 30.75 kB / 443.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.09769, allocations: 8.844 kB / 443.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.09785, allocations: 205.3 kB / 444 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.09787, allocations: 8.359 kB / 444 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.0979, allocations: 4.375 kB / 444 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.09815, allocations: 95.3 kB / 444.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.09817, allocations: 0 / 444.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.09818, allocations: 8 kB / 444.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.09819, allocations: 0 / 444.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.09849, allocations: 79.91 kB / 444.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.09892, allocations: 332.6 kB / 444.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.09916, allocations: 78.53 kB / 444.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.09932, allocations: 44.94 kB / 444.6 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.09935, allocations: 4.062 kB / 444.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.09937, allocations: 38.56 kB / 444.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.09938, allocations: 0 / 444.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.001525/0.1009, allocations: 388.9 kB / 445 MB, free: 2.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.101, allocations: 77.11 kB / 445.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.1011, allocations: 149.8 kB / 445.2 MB, free: 1.953 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.1011, allocations: 25.7 kB / 445.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.1011, allocations: 115.9 kB / 445.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.1012, allocations: 19.7 kB / 445.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.1012, allocations: 25.72 kB / 445.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.713e-05/0.1013, allocations: 318.8 kB / 445.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.1016, allocations: 67.92 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.1018, allocations: 93.62 kB / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.1023, allocations: 160.7 kB / 446.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1023, allocations: 0 / 446.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005552/0.1029, allocations: 189.4 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1029, allocations: 8 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1029, allocations: 3.938 kB / 446.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1029, allocations: 4 kB / 446.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.1031, allocations: 39.83 kB / 446.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1032, allocations: 4 kB / 446.3 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.1033, allocations: 23.97 kB / 446.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1033, allocations: 4 kB / 446.3 MB, free: 0.832 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 (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 5.606e-05/0.1034, allocations: 121.8 kB / 446.4 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.1034, allocations: 12.27 kB / 446.5 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005941/0.104, allocations: 226.3 kB / 446.7 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.104, allocations: 15.86 kB / 446.7 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.104, allocations: 0 / 446.7 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1041, allocations: 0 / 446.7 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007805/0.1048, allocations: 494.4 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1049, allocations: 0 / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.105, allocations: 43.89 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.105, allocations: 0 / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1051, allocations: 3.938 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1051, allocations: 0 / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1051, allocations: 0 / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006523/0.1057, allocations: 295.3 kB / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.1058, allocations: 88.94 kB / 447.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.1058, allocations: 4 kB / 447.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.106, allocations: 27.97 kB / 447.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.1061, allocations: 11.98 kB / 447.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.1061, allocations: 0 / 447.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.364e-05/0.1062, allocations: 116.6 kB / 447.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1062, allocations: 0 / 447.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1064, allocations: 31.98 kB / 447.8 MB, free: 15.26 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 (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.001736/0.1082, allocations: 1.164 MB / 448.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006499/0.1088, allocations: 167.8 kB / 449.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1089, allocations: 0 / 449.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.1091, allocations: 79.92 kB / 449.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.1095, allocations: 23.98 kB / 449.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.1122, allocations: 1.847 MB / 451.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.1125, allocations: 0.7039 MB / 451.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.803e-05/0.1126, allocations: 20.41 kB / 451.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.358e-05/0.1127, allocations: 39.41 kB / 451.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1127, allocations: 0 / 451.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.1323, allocations: 3.654 MB / 455.5 MB, free: 7.492 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/8.386, allocations: 8.938 kB / 455.5 MB, free: 7.484 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches