Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5",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.004938/0.004938, allocations: 100.9 kB / 15.87 MB, free: 6.309 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.001274/0.001274, allocations: 196.7 kB / 16.79 MB, free: 6.238 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.372/1.372, allocations: 205.1 MB / 222.6 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3383/0.3383, allocations: 43.5 MB / 313.5 MB, free: 8.547 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.001364/0.001364, allocations: 60.47 kB / 382.1 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1078, allocations: 57.78 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.002786/0.1106, allocations: 1.676 MB / 441.6 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005784/0.1112, allocations: 323.6 kB / 441.9 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.552e-05/0.1113, allocations: 4 kB / 441.9 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005018/0.1118, allocations: 447.2 kB / 442.3 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.1121, allocations: 243.5 kB / 442.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.1124, allocations: 107.8 kB / 442.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.1126, allocations: 147.8 kB / 442.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.042e-05/0.1127, allocations: 12.45 kB / 442.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1128, allocations: 99.8 kB / 442.9 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.113, allocations: 211.5 kB / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.1131, allocations: 0 / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.497e-05/0.1131, allocations: 31.98 kB / 443.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.1132, allocations: 87.62 kB / 443.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.74e-05/0.1133, allocations: 99 kB / 443.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.1136, allocations: 250.9 kB / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1136, allocations: 0 / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1136, allocations: 0 / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1136, allocations: 0 / 443.6 MB, free: 11.02 MB / 382.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.0006899/0.1143, allocations: 0.6376 MB / 444.2 MB, free: 10.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1143, allocations: 15.97 kB / 444.3 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.903e-05/0.1144, allocations: 30.75 kB / 444.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.1144, allocations: 44.31 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.1147, allocations: 304.1 kB / 444.6 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1147, allocations: 4.375 kB / 444.6 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1148, allocations: 8.125 kB / 444.6 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.1149, allocations: 49.69 kB / 444.7 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1149, allocations: 0 / 444.7 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1149, allocations: 7.984 kB / 444.7 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1149, allocations: 0 / 444.7 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.154e-05/0.115, allocations: 23.98 kB / 444.7 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.1155, allocations: 384.6 kB / 445.1 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.1157, allocations: 46.56 kB / 445.1 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.926e-05/0.1158, allocations: 20.92 kB / 445.2 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1158, allocations: 4 kB / 445.2 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.1159, allocations: 30.56 kB / 445.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1159, allocations: 0 / 445.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006303/0.1165, allocations: 223.9 kB / 445.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.1166, allocations: 55.41 kB / 445.5 MB, free: 8.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007641/0.1173, allocations: 0.8652 MB / 446.3 MB, free: 8.082 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1174, allocations: 29.7 kB / 446.4 MB, free: 8.047 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.1175, allocations: 216.2 kB / 446.6 MB, free: 7.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.1175, allocations: 27.72 kB / 446.6 MB, free: 7.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.1176, allocations: 17.66 kB / 446.6 MB, free: 7.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1177, allocations: 362.8 kB / 447 MB, free: 7.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.015e-05/0.1178, allocations: 19.98 kB / 447 MB, free: 7.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.969e-05/0.1179, allocations: 23.98 kB / 447 MB, free: 7.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.118, allocations: 41.03 kB / 447.1 MB, free: 7.332 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.118, allocations: 0 / 447.1 MB, free: 7.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002046/0.1182, allocations: 121.1 kB / 447.2 MB, free: 7.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1182, allocations: 4 kB / 447.2 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1182, allocations: 4 kB / 447.2 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.1183, allocations: 4 kB / 447.2 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.1183, allocations: 11.94 kB / 447.2 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1184, allocations: 3.938 kB / 447.2 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.811e-05/0.1184, allocations: 11.92 kB / 447.2 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1184, allocations: 4 kB / 447.2 MB, free: 7.164 MB / 382.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 (5): * Single equations (assignments): 5 * 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.0001983/0.1186, allocations: 205.8 kB / 447.4 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.1187, allocations: 43.52 kB / 447.5 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.119, allocations: 141 kB / 447.6 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.119, allocations: 0 / 447.6 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.119, allocations: 3.938 kB / 447.6 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.119, allocations: 0 / 447.6 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.1195, allocations: 454.4 kB / 448 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1195, allocations: 7.922 kB / 448.1 MB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.787e-05/0.1196, allocations: 12 kB / 448.1 MB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1196, allocations: 11.94 kB / 448.1 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1196, allocations: 0 / 448.1 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1196, allocations: 0 / 448.1 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1196, allocations: 0 / 448.1 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.1198, allocations: 215.2 kB / 448.3 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.1199, allocations: 108.5 kB / 448.4 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.1199, allocations: 11.92 kB / 448.4 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.12, allocations: 8 kB / 448.4 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.12, allocations: 4 kB / 448.4 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.12, allocations: 0 / 448.4 MB, free: 5.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005116/0.1206, allocations: 0.655 MB / 449.1 MB, free: 5.199 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1206, allocations: 0 / 449.1 MB, free: 5.199 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1208, allocations: 20 kB / 449.1 MB, free: 5.18 MB / 382.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 (5): * Single equations (assignments): 5 * 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.001257/0.1221, allocations: 1.058 MB / 450.2 MB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.1223, allocations: 43.97 kB / 450.2 MB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1223, allocations: 0 / 450.2 MB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.1224, allocations: 23.98 kB / 450.2 MB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.1228, allocations: 29.95 kB / 450.2 MB, free: 4.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/0.1261, allocations: 3.291 MB / 453.5 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1621/0.2882, allocations: 0.8232 MB / 454.4 MB, free: 48.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.2884, allocations: 9.422 kB / 454.4 MB, free: 48.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.2885, allocations: 102.4 kB / 454.5 MB, free: 48.83 MB / 382.1 MB Notification: Performance of SimCode: time 1.563e-06/0.2885, allocations: 0 / 454.5 MB, free: 48.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.3032, allocations: 5.654 MB / 460.1 MB, free: 48.24 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/0.3034, allocations: 241.6 kB / 460.4 MB, free: 47.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/2.318, allocations: 0 / 460.4 MB, free: 47.98 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches