Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8",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.0008571/0.000857, allocations: 102.2 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009672/0.0009676, allocations: 186 kB / 16.92 MB, free: 6.914 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.513/1.513, allocations: 205.4 MB / 223.1 MB, free: 5.492 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.3753/0.3753, allocations: 43.58 MB / 315 MB, free: 9.023 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.0006012/0.0006013, allocations: 12 kB / 384.7 MB, free: 7.797 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1143, allocations: 58.87 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.001922/0.1163, allocations: 1.282 MB / 444.8 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005772/0.1169, allocations: 299.7 kB / 445.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.1169, allocations: 0 / 445.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000515/0.1175, allocations: 447.2 kB / 445.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.1178, allocations: 251.5 kB / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.1181, allocations: 95.81 kB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.1183, allocations: 151.6 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.099e-05/0.1184, allocations: 19.98 kB / 446.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1185, allocations: 95.73 kB / 446.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.1187, allocations: 195.7 kB / 446.3 MB, free: 10 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1187, allocations: 3.984 kB / 446.4 MB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.298e-05/0.1188, allocations: 19.94 kB / 446.4 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.84e-05/0.1189, allocations: 87.69 kB / 446.5 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.131e-05/0.119, allocations: 120.7 kB / 446.6 MB, free: 9.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.1193, allocations: 235.2 kB / 446.8 MB, free: 9.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1193, allocations: 4 kB / 446.8 MB, free: 9.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1193, allocations: 0 / 446.8 MB, free: 9.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1193, allocations: 0 / 446.8 MB, free: 9.535 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000621/0.1199, allocations: 0.5755 MB / 447.4 MB, free: 8.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.12, allocations: 11.97 kB / 447.4 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.12, allocations: 42.73 kB / 447.4 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/0.1201, allocations: 40.47 kB / 447.5 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.1203, allocations: 292.2 kB / 447.8 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.1204, allocations: 4.375 kB / 447.8 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.1204, allocations: 384 / 447.8 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.1205, allocations: 57.62 kB / 447.8 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1205, allocations: 0 / 447.8 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.1206, allocations: 0 / 447.8 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1206, allocations: 4 kB / 447.8 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.365e-05/0.1207, allocations: 27.92 kB / 447.9 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.1211, allocations: 380.7 kB / 448.2 MB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.511e-05/0.1212, allocations: 30.58 kB / 448.3 MB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.1213, allocations: 24.91 kB / 448.3 MB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.1213, allocations: 3.938 kB / 448.3 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1213, allocations: 30.56 kB / 448.3 MB, free: 7.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1213, allocations: 0 / 448.3 MB, free: 7.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002668/0.1216, allocations: 105.1 kB / 448.4 MB, free: 7.746 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.1216, allocations: 55.53 kB / 448.5 MB, free: 7.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007905/0.1224, allocations: 0.8652 MB / 449.3 MB, free: 6.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1225, allocations: 25.7 kB / 449.4 MB, free: 6.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.1226, allocations: 216.1 kB / 449.6 MB, free: 6.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.1227, allocations: 11.84 kB / 449.6 MB, free: 6.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.1227, allocations: 13.72 kB / 449.6 MB, free: 6.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1228, allocations: 362.7 kB / 450 MB, free: 6.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.326e-05/0.1229, allocations: 8 kB / 450 MB, free: 6.156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.742e-05/0.1229, allocations: 19.98 kB / 450 MB, free: 6.137 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.319e-05/0.123, allocations: 24.8 kB / 450 MB, free: 6.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.123, allocations: 4 kB / 450 MB, free: 6.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001539/0.1232, allocations: 101.1 kB / 450.1 MB, free: 6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1232, allocations: 8 kB / 450.1 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1232, allocations: 0 / 450.1 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1232, allocations: 0 / 450.1 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.949e-05/0.1233, allocations: 4 kB / 450.1 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1233, allocations: 0 / 450.1 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/0.1234, allocations: 4 kB / 450.1 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.1234, allocations: 0 / 450.1 MB, free: 5.984 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 (2): * Single equations (assignments): 2 * 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.0001653/0.1235, allocations: 213.7 kB / 450.3 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.1236, allocations: 47.44 kB / 450.4 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.1238, allocations: 112.6 kB / 450.5 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1238, allocations: 0 / 450.5 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1238, allocations: 0 / 450.5 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1238, allocations: 4 kB / 450.5 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.1241, allocations: 281.5 kB / 450.8 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1241, allocations: 0 / 450.8 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.1242, allocations: 12.02 kB / 450.8 MB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1242, allocations: 0 / 450.8 MB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.1242, allocations: 4 kB / 450.8 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1242, allocations: 0 / 450.8 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1242, allocations: 0 / 450.8 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.1244, allocations: 194.9 kB / 451 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.345e-05/0.1245, allocations: 116.6 kB / 451.1 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.1245, allocations: 0 / 451.1 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.1246, allocations: 4 kB / 451.1 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.1246, allocations: 7.984 kB / 451.1 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1246, allocations: 4 kB / 451.1 MB, free: 4.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005629/0.1252, allocations: 0.6511 MB / 451.8 MB, free: 4.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1252, allocations: 0 / 451.8 MB, free: 4.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.1254, allocations: 23.94 kB / 451.8 MB, free: 4.23 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 (2): * Single equations (assignments): 2 * 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.001083/0.1265, allocations: 0.9655 MB / 452.7 MB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.1267, allocations: 27.92 kB / 452.8 MB, free: 3.238 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1267, allocations: 0 / 452.8 MB, free: 3.238 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.606e-05/0.1267, allocations: 15.98 kB / 452.8 MB, free: 3.223 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.1271, allocations: 34 kB / 452.8 MB, free: 3.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1804/0.3075, allocations: 3.209 MB / 456 MB, free: 45.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.3078, allocations: 0.8186 MB / 456.8 MB, free: 45.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.976e-05/0.3079, allocations: 9.094 kB / 456.9 MB, free: 45.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.308, allocations: 106.8 kB / 457 MB, free: 45 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.308, allocations: 0 / 457 MB, free: 45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.322, allocations: 5.132 MB / 462.1 MB, free: 44.65 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.3222, allocations: 234 kB / 462.3 MB, free: 44.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.206, allocations: 0 / 462.3 MB, free: 44.39 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches