Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",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.0009143/0.0009144, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.001044/0.001044, allocations: 173.8 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1976/0.1976, allocations: 44.24 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003208, allocations: 8 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1075, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.001778/0.1093, allocations: 1.341 MB / 473.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000733/0.11, allocations: 423.2 kB / 474.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.1101, allocations: 0 / 474.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005029/0.1106, allocations: 447.2 kB / 474.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.1109, allocations: 247.5 kB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.1113, allocations: 115.1 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.1115, allocations: 163.6 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.605e-05/0.1116, allocations: 15.98 kB / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.1117, allocations: 103.8 kB / 475.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.1119, allocations: 203.6 kB / 475.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.1119, allocations: 0 / 475.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.112, allocations: 43.98 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.617e-05/0.1121, allocations: 87.67 kB / 475.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.827e-05/0.1122, allocations: 124.7 kB / 475.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.1125, allocations: 259.1 kB / 475.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1125, allocations: 4 kB / 475.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1125, allocations: 0 / 475.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.1125, allocations: 0 / 475.9 MB, free: 9.711 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006344/0.1132, allocations: 0.5951 MB / 476.5 MB, free: 9.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1132, allocations: 15.97 kB / 476.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.1132, allocations: 30.75 kB / 476.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.1133, allocations: 44.38 kB / 476.6 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.1136, allocations: 300.1 kB / 476.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1136, allocations: 8.375 kB / 476.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.1136, allocations: 8.312 kB / 476.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.1138, allocations: 57.62 kB / 476.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.1138, allocations: 4 kB / 476.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.1138, allocations: 0 / 476.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1138, allocations: 0 / 476.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.1139, allocations: 35.97 kB / 477 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.1144, allocations: 408.5 kB / 477.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.896e-05/0.1145, allocations: 38.56 kB / 477.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.1145, allocations: 24.94 kB / 477.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.1146, allocations: 0 / 477.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.1146, allocations: 38.59 kB / 477.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1146, allocations: 0 / 477.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009129/0.1155, allocations: 323.9 kB / 477.8 MB, free: 7.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.1156, allocations: 59.34 kB / 477.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008707/0.1164, allocations: 0.8691 MB / 478.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.1165, allocations: 25.7 kB / 478.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.1167, allocations: 232 kB / 479 MB, free: 6.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.1167, allocations: 31.62 kB / 479 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.1167, allocations: 9.719 kB / 479 MB, free: 6.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1169, allocations: 362.8 kB / 479.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.375e-05/0.117, allocations: 27.98 kB / 479.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.768e-05/0.1171, allocations: 35.98 kB / 479.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.1173, allocations: 64.83 kB / 479.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1173, allocations: 0 / 479.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002544/0.1175, allocations: 141.3 kB / 479.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.1176, allocations: 10.66 kB / 479.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1176, allocations: 80 / 479.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1176, allocations: 0 / 479.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1177, allocations: 27.92 kB / 479.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1177, allocations: 3.984 kB / 479.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.808e-05/0.1178, allocations: 11.98 kB / 479.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1178, allocations: 7.938 kB / 479.7 MB, free: 5.672 MB / 350.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 0.0001824/0.118, allocations: 209.8 kB / 479.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/0.1181, allocations: 51.38 kB / 479.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.1184, allocations: 165.4 kB / 480.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.1184, allocations: 7.938 kB / 480.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.1184, allocations: 3.984 kB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1185, allocations: 0 / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000732/0.1192, allocations: 0.5147 MB / 480.6 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1192, allocations: 0 / 480.6 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.925e-05/0.1193, allocations: 19.98 kB / 480.7 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1193, allocations: 0 / 480.7 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1193, allocations: 0 / 480.7 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.1193, allocations: 3.938 kB / 480.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1193, allocations: 4 kB / 480.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.1196, allocations: 243.9 kB / 480.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.073e-05/0.1197, allocations: 116.5 kB / 481 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.1198, allocations: 0 / 481 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.473e-05/0.1199, allocations: 12 kB / 481 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.1199, allocations: 7.984 kB / 481 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.1199, allocations: 4 kB / 481 MB, free: 4.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005667/0.1205, allocations: 0.6511 MB / 481.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1205, allocations: 0 / 481.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1208, allocations: 31.98 kB / 481.7 MB, free: 3.527 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001492/0.1223, allocations: 1.131 MB / 482.9 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.1225, allocations: 75.89 kB / 482.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1225, allocations: 0 / 482.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.831e-05/0.1227, allocations: 47.97 kB / 483 MB, free: 2.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.1231, allocations: 29.08 kB / 483 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/0.1272, allocations: 3.427 MB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.1275, allocations: 0.8262 MB / 487.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.553e-05/0.1276, allocations: 12.75 kB / 487.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.1278, allocations: 107.4 kB / 487.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1278, allocations: 0 / 487.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0505/0.1783, allocations: 5.712 MB / 493.1 MB, free: 8.312 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/0.1786, allocations: 238.4 kB / 493.3 MB, free: 8.055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/1.945, allocations: 0 / 493.3 MB, free: 8.055 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches