Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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.001296/0.001296, allocations: 99.8 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.001282/0.001283, allocations: 190.1 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.41/1.41, 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.213/0.213, allocations: 43.52 MB / 313.9 MB, free: 0.5117 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.001557/0.001557, allocations: 68.02 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08685/0.08842, allocations: 57.8 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.002671/0.09113, allocations: 1.644 MB / 442.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005062/0.09166, allocations: 351.4 kB / 442.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.788e-05/0.09173, allocations: 0 / 442.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.09193, allocations: 27.8 kB / 442.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.09211, allocations: 43.77 kB / 442.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.09236, allocations: 119.6 kB / 442.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.09248, allocations: 79.75 kB / 442.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.62e-05/0.09257, allocations: 16.17 kB / 442.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.66e-05/0.09263, allocations: 39.84 kB / 442.9 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.887e-05/0.0927, allocations: 35.83 kB / 443 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.09272, allocations: 11.94 kB / 443 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.09283, allocations: 51.98 kB / 443 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.398e-05/0.09289, allocations: 19.92 kB / 443 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.09293, allocations: 35.78 kB / 443.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.0931, allocations: 111.7 kB / 443.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.09311, allocations: 0 / 443.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.09311, allocations: 0 / 443.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.09312, allocations: 0 / 443.2 MB, free: 4.203 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.0004849/0.09361, allocations: 435 kB / 443.6 MB, free: 3.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.09365, allocations: 11.89 kB / 443.6 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.365e-05/0.09368, allocations: 34.75 kB / 443.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.09372, allocations: 8.844 kB / 443.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.09386, allocations: 197.3 kB / 443.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.09388, allocations: 384 / 443.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.0939, allocations: 4.375 kB / 443.9 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.09415, allocations: 103.3 kB / 444 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.09417, allocations: 3.938 kB / 444 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.09418, allocations: 0 / 444 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.09419, allocations: 4 kB / 444 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.09449, allocations: 75.84 kB / 444.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002823/0.09478, allocations: 308.7 kB / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.095, allocations: 66.53 kB / 444.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.09515, allocations: 48.94 kB / 444.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.09518, allocations: 0 / 444.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.0952, allocations: 38.5 kB / 444.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.09521, allocations: 3.938 kB / 444.5 MB, free: 2.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.001424/0.09664, allocations: 364.9 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.09668, allocations: 81.09 kB / 444.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.0968, allocations: 152.9 kB / 445.1 MB, free: 2.094 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.09682, allocations: 25.7 kB / 445.1 MB, free: 2.062 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.09687, allocations: 104.1 kB / 445.2 MB, free: 1.957 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.0969, allocations: 27.56 kB / 445.2 MB, free: 1.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.09694, allocations: 21.7 kB / 445.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.084e-05/0.09699, allocations: 322.8 kB / 445.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.09726, allocations: 63.94 kB / 445.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.09752, allocations: 93.75 kB / 445.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004902/0.09802, allocations: 136.8 kB / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.09803, allocations: 0 / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005517/0.09859, allocations: 185.4 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.09861, allocations: 5.25 kB / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.09862, allocations: 0 / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.09863, allocations: 0 / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.09885, allocations: 43.95 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.09886, allocations: 0 / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.09901, allocations: 27.91 kB / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.09902, allocations: 0 / 446.1 MB, free: 1.02 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.864e-05/0.09909, allocations: 125.8 kB / 446.2 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.09913, allocations: 11.91 kB / 446.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006053/0.09974, allocations: 202.1 kB / 446.5 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.09976, allocations: 4 kB / 446.5 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.09977, allocations: 3.984 kB / 446.5 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.09977, allocations: 3.938 kB / 446.5 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007571/0.1005, allocations: 470.4 kB / 446.9 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1006, allocations: 384 / 446.9 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.1007, allocations: 43.89 kB / 447 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.1007, allocations: 0 / 447 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1008, allocations: 7.938 kB / 447 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1008, allocations: 0 / 447 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1008, allocations: 3.938 kB / 447 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007011/0.1015, allocations: 291.6 kB / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.1015, allocations: 85.02 kB / 447.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.1016, allocations: 7.938 kB / 447.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.1018, allocations: 27.95 kB / 447.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.1018, allocations: 11.98 kB / 447.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.1019, allocations: 4 kB / 447.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.102, allocations: 115.2 kB / 447.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.102, allocations: 0 / 447.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.1023, allocations: 39.89 kB / 447.6 MB, free: 15.48 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.001835/0.1041, allocations: 1.14 MB / 448.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000633/0.1047, allocations: 155.8 kB / 448.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.1048, allocations: 4 kB / 448.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.1051, allocations: 79.86 kB / 448.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.1054, allocations: 22.02 kB / 448.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.1082, allocations: 1.769 MB / 450.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.1085, allocations: 0.6961 MB / 451.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.02e-05/0.1086, allocations: 24.7 kB / 451.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/0.1086, allocations: 31.42 kB / 451.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.1087, allocations: 0 / 451.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.1291, allocations: 3.572 MB / 455 MB, free: 7.918 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.378/8.507, allocations: 0.875 kB / 455 MB, free: 7.918 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches