Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30",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.001286/0.001285, allocations: 104.5 kB / 16.27 MB, free: 6.41 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.001189/0.001189, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.381/1.381, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2157/0.2157, allocations: 43.51 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.001703/0.001703, allocations: 69.25 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09693/0.09864, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test30): time 0.002645/0.1013, allocations: 1.597 MB / 442.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005322/0.1019, allocations: 327.4 kB / 442.5 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.076e-05/0.102, allocations: 0 / 442.5 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.1022, allocations: 75.77 kB / 442.6 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.1024, allocations: 63.8 kB / 442.7 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.1027, allocations: 110.7 kB / 442.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.1028, allocations: 67.83 kB / 442.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.803e-05/0.1029, allocations: 28.09 kB / 442.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.169e-05/0.103, allocations: 35.86 kB / 442.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.215e-05/0.1031, allocations: 51.81 kB / 443 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1031, allocations: 0 / 443 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.477e-05/0.1032, allocations: 31.98 kB / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.1032, allocations: 27.92 kB / 443 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.1033, allocations: 31.73 kB / 443.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.1034, allocations: 95.7 kB / 443.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1034, allocations: 0 / 443.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1034, allocations: 0 / 443.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1034, allocations: 4 kB / 443.1 MB, free: 4.25 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.0004384/0.1039, allocations: 418.9 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.1039, allocations: 11.89 kB / 443.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.104, allocations: 34.73 kB / 443.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.104, allocations: 12.75 kB / 443.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.1042, allocations: 202.2 kB / 443.8 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1043, allocations: 8.375 kB / 443.8 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.1043, allocations: 4.125 kB / 443.8 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.1045, allocations: 53.69 kB / 443.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1045, allocations: 3.984 kB / 443.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1045, allocations: 4 kB / 443.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1045, allocations: 3.938 kB / 443.9 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.1046, allocations: 35.91 kB / 443.9 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.1049, allocations: 296.8 kB / 444.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.1051, allocations: 38.56 kB / 444.3 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.1051, allocations: 24.94 kB / 444.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.1052, allocations: 0 / 444.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.1052, allocations: 38.48 kB / 444.3 MB, free: 2.914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.1052, allocations: 0 / 444.3 MB, free: 2.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006847/0.1059, allocations: 225.3 kB / 444.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/0.1059, allocations: 51.41 kB / 444.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.106, allocations: 215.2 kB / 444.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.1061, allocations: 29.7 kB / 444.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.1061, allocations: 108.1 kB / 444.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.1061, allocations: 19.66 kB / 444.9 MB, free: 2.238 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.1062, allocations: 17.72 kB / 445 MB, free: 2.215 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.202e-05/0.1062, allocations: 326.8 kB / 445.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.1063, allocations: 31.97 kB / 445.3 MB, free: 1.855 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.87e-05/0.1064, allocations: 27.97 kB / 445.3 MB, free: 1.828 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.1066, allocations: 76.81 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1066, allocations: 4 kB / 445.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002357/0.1069, allocations: 117.4 kB / 445.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1069, allocations: 8 kB / 445.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1069, allocations: 4 kB / 445.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1069, allocations: 0 / 445.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.107, allocations: 31.95 kB / 445.6 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.107, allocations: 3.938 kB / 445.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.791e-05/0.1071, allocations: 4 kB / 445.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1071, allocations: 4 kB / 445.6 MB, free: 1.57 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.795e-05/0.1072, allocations: 125.8 kB / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.1072, allocations: 11.91 kB / 445.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.1075, allocations: 135.3 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1075, allocations: 0 / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1075, allocations: 7.922 kB / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1075, allocations: 0 / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.1079, allocations: 394.6 kB / 446.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1079, allocations: 7.938 kB / 446.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.464e-05/0.108, allocations: 19.92 kB / 446.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.108, allocations: 3.938 kB / 446.3 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.108, allocations: 4 kB / 446.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.108, allocations: 0 / 446.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.108, allocations: 0 / 446.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.1083, allocations: 215.3 kB / 446.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.1083, allocations: 85.02 kB / 446.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.1083, allocations: 7.938 kB / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.644e-05/0.1084, allocations: 7.984 kB / 446.6 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.1085, allocations: 11.98 kB / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.1085, allocations: 0 / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.369e-05/0.1086, allocations: 163.9 kB / 446.8 MB, free: 296 kB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1086, allocations: 0 / 446.8 MB, free: 296 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.1088, allocations: 16 kB / 446.8 MB, free: 280 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.001279/0.1101, allocations: 1.049 MB / 447.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002765/0.1104, allocations: 79.88 kB / 447.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1104, allocations: 0 / 447.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.1105, allocations: 43.91 kB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1109, allocations: 22.02 kB / 448 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.1127, allocations: 1.694 MB / 449.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.113, allocations: 0.7118 MB / 450.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.973e-05/0.113, allocations: 8.969 kB / 450.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.1131, allocations: 35.42 kB / 450.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of SimCode: time 1.643e-06/0.1131, allocations: 4 kB / 450.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04571/0.1588, allocations: 2.956 MB / 453.4 MB, free: 9.609 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/8.309, allocations: 3.984 kB / 453.4 MB, free: 9.605 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches