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.006394/0.006394, allocations: 99.89 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.001236/0.001236, allocations: 195.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.315/1.315, allocations: 205.1 MB / 222.6 MB, free: 4.742 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.3065/0.3066, allocations: 43.49 MB / 313.5 MB, free: 8.543 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.001241/0.001241, allocations: 66.56 kB / 382.1 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09826, allocations: 57.78 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test30): time 0.003018/0.1013, allocations: 1.683 MB / 441.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006063/0.102, allocations: 323.5 kB / 441.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.102, allocations: 4 kB / 441.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.1023, allocations: 63.83 kB / 442 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.1025, allocations: 51.88 kB / 442 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.1027, allocations: 111.8 kB / 442.1 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.1029, allocations: 63.84 kB / 442.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.103, allocations: 16.45 kB / 442.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.671e-05/0.103, allocations: 35.83 kB / 442.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.03e-05/0.1031, allocations: 51.83 kB / 442.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.1032, allocations: 4 kB / 442.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.765e-05/0.1032, allocations: 20 kB / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.205e-05/0.1033, allocations: 39.77 kB / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.1034, allocations: 27.75 kB / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.1035, allocations: 99.64 kB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1035, allocations: 0 / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1035, allocations: 0 / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1035, allocations: 0 / 442.5 MB, free: 12.16 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.0005016/0.1041, allocations: 423 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1041, allocations: 8.031 kB / 442.9 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.1041, allocations: 34.75 kB / 442.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.1042, allocations: 8.844 kB / 442.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.1044, allocations: 204.7 kB / 443.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.1044, allocations: 384 / 443.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.1044, allocations: 12.06 kB / 443.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1046, allocations: 53.67 kB / 443.2 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1046, allocations: 0 / 443.2 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-06/0.1046, allocations: 8 kB / 443.2 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1046, allocations: 0 / 443.2 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.1047, allocations: 31.97 kB / 443.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.1051, allocations: 300.8 kB / 443.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1052, allocations: 50.5 kB / 443.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.108e-05/0.1053, allocations: 16.94 kB / 443.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.1053, allocations: 4 kB / 443.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1053, allocations: 34.56 kB / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1053, allocations: 0 / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006638/0.106, allocations: 217 kB / 443.9 MB, free: 10.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.106, allocations: 51.41 kB / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.1062, allocations: 215.2 kB / 444.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.1062, allocations: 25.7 kB / 444.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.1063, allocations: 108.1 kB / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.1063, allocations: 23.64 kB / 444.3 MB, free: 10.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.1064, allocations: 25.72 kB / 444.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.517e-05/0.1065, allocations: 318.8 kB / 444.6 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.1066, allocations: 31.97 kB / 444.6 MB, free: 9.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.472e-05/0.1067, allocations: 40.03 kB / 444.7 MB, free: 9.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.1069, allocations: 76.75 kB / 444.8 MB, free: 9.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1069, allocations: 0 / 444.8 MB, free: 9.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002475/0.1071, allocations: 113.5 kB / 444.9 MB, free: 9.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.1071, allocations: 4 kB / 444.9 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1071, allocations: 0 / 444.9 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1072, allocations: 4 kB / 444.9 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1073, allocations: 19.98 kB / 444.9 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1073, allocations: 3.938 kB / 444.9 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.681e-05/0.1074, allocations: 15.92 kB / 444.9 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1074, allocations: 0 / 444.9 MB, free: 9.488 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 (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 8.644e-05/0.1075, allocations: 133.8 kB / 445 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.1075, allocations: 8.188 kB / 445.1 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.1078, allocations: 131 kB / 445.2 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1078, allocations: 3.984 kB / 445.2 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1078, allocations: 3.938 kB / 445.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1078, allocations: 4 kB / 445.2 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004457/0.1083, allocations: 394.4 kB / 445.6 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1083, allocations: 0 / 445.6 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.801e-05/0.1084, allocations: 23.98 kB / 445.6 MB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1084, allocations: 3.938 kB / 445.6 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1084, allocations: 4 kB / 445.6 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1084, allocations: 0 / 445.6 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1084, allocations: 0 / 445.6 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.1087, allocations: 219.7 kB / 445.8 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.1087, allocations: 89 kB / 445.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.1087, allocations: 3.938 kB / 445.9 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.883e-05/0.1088, allocations: 15.98 kB / 445.9 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.1089, allocations: 3.938 kB / 445.9 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-06/0.1089, allocations: 4 kB / 445.9 MB, free: 8.355 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.109, allocations: 164.8 kB / 446.1 MB, free: 8.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.109, allocations: 0 / 446.1 MB, free: 8.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.1092, allocations: 20 kB / 446.1 MB, free: 8.176 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 (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.001199/0.1104, allocations: 1.051 MB / 447.2 MB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.1107, allocations: 79.92 kB / 447.2 MB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1107, allocations: 0 / 447.2 MB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.1108, allocations: 43.97 kB / 447.3 MB, free: 7.016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.1112, allocations: 15.22 kB / 447.3 MB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.1128, allocations: 1.718 MB / 449 MB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.113, allocations: 0.7079 MB / 449.7 MB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.218e-05/0.1131, allocations: 12.97 kB / 449.7 MB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.184e-05/0.1132, allocations: 31.42 kB / 449.8 MB, free: 4.434 MB / 382.1 MB Notification: Performance of SimCode: time 1.352e-06/0.1132, allocations: 0 / 449.8 MB, free: 4.434 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6034/0.7165, allocations: 2.767 MB / 452.5 MB, free: 1.645 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.7168, allocations: 235.8 kB / 452.8 MB, free: 1.387 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.578, allocations: 0 / 452.8 MB, free: 1.387 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches