Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",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.0008203/0.0008202, allocations: 95.7 kB / 17.35 MB, free: 6.367 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.001015/0.001015, allocations: 176.4 kB / 18.25 MB, free: 5.523 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.353/1.353, allocations: 223.3 MB / 242.3 MB, free: 236 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.1922/0.1922, allocations: 44.25 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.000323, allocations: 8.719 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1107, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002114/0.1128, allocations: 1.336 MB / 473.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008687/0.1137, allocations: 439.2 kB / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.015e-05/0.1138, allocations: 4 kB / 474.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005745/0.1144, allocations: 443.2 kB / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.1148, allocations: 247.5 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.1152, allocations: 169.7 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.1155, allocations: 159.7 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1156, allocations: 23.97 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.1158, allocations: 99.73 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.1161, allocations: 199.6 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.1161, allocations: 4 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1162, allocations: 35.92 kB / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.1163, allocations: 83.67 kB / 475.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.223e-05/0.1164, allocations: 124.7 kB / 475.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.1167, allocations: 251.2 kB / 475.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1167, allocations: 0 / 475.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1167, allocations: 7.875 kB / 475.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1167, allocations: 4 kB / 475.9 MB, free: 9.656 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006533/0.1174, allocations: 0.5951 MB / 476.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1174, allocations: 15.97 kB / 476.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.1175, allocations: 30.75 kB / 476.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.536e-05/0.1175, allocations: 48.36 kB / 476.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.1178, allocations: 296.1 kB / 476.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1178, allocations: 8.375 kB / 476.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.1178, allocations: 4.375 kB / 476.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.118, allocations: 77.59 kB / 477 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.118, allocations: 0 / 477 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.118, allocations: 0 / 477 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.1181, allocations: 0 / 477 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.1182, allocations: 55.91 kB / 477.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.1187, allocations: 408.6 kB / 477.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.1189, allocations: 54.55 kB / 477.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.873e-05/0.119, allocations: 28.94 kB / 477.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.119, allocations: 0 / 477.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.119, allocations: 38.5 kB / 477.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.119, allocations: 0 / 477.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008909/0.1199, allocations: 332 kB / 477.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.12, allocations: 59.42 kB / 478 MB, free: 7.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007508/0.1207, allocations: 0.8652 MB / 478.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1208, allocations: 25.7 kB / 478.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.1209, allocations: 224 kB / 479.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.1209, allocations: 23.64 kB / 479.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.121, allocations: 17.66 kB / 479.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1211, allocations: 366.8 kB / 479.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.1213, allocations: 43.95 kB / 479.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.1214, allocations: 47.97 kB / 479.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.1216, allocations: 109 kB / 479.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.1216, allocations: 0 / 479.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003205/0.122, allocations: 173.1 kB / 479.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.122, allocations: 8 kB / 479.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.122, allocations: 0 / 479.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.122, allocations: 0 / 479.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1221, allocations: 23.98 kB / 479.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1222, allocations: 0 / 479.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/0.1222, allocations: 23.83 kB / 479.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1223, allocations: 8 kB / 479.9 MB, free: 5.461 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 (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 0.0001687/0.1224, allocations: 213.8 kB / 480.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.1225, allocations: 39.53 kB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003843/0.1229, allocations: 201.3 kB / 480.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1229, allocations: 0 / 480.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1229, allocations: 0 / 480.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1229, allocations: 3.938 kB / 480.3 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006481/0.1236, allocations: 0.5296 MB / 480.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1236, allocations: 0 / 480.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.1237, allocations: 27.92 kB / 480.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1237, allocations: 0 / 480.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1237, allocations: 7.938 kB / 480.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1237, allocations: 0 / 480.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1237, allocations: 0 / 480.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.1241, allocations: 263 kB / 481.2 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-05/0.1242, allocations: 120.8 kB / 481.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.1242, allocations: 3.938 kB / 481.3 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.1243, allocations: 16 kB / 481.3 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.1244, allocations: 3.984 kB / 481.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.1244, allocations: 7.984 kB / 481.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005654/0.125, allocations: 0.655 MB / 482 MB, free: 3.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.125, allocations: 0 / 482 MB, free: 3.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.1252, allocations: 23.94 kB / 482 MB, free: 3.254 MB / 350.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.001443/0.1267, allocations: 1.112 MB / 483.1 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003067/0.127, allocations: 103.9 kB / 483.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.127, allocations: 0 / 483.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.1272, allocations: 63.89 kB / 483.3 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.1276, allocations: 21.97 kB / 483.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.1314, allocations: 3.484 MB / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.1318, allocations: 0.8301 MB / 487.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.933e-05/0.1319, allocations: 20.97 kB / 487.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.132, allocations: 119.4 kB / 487.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.132, allocations: 0 / 487.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.1483, allocations: 5.574 MB / 493.3 MB, free: 8.051 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.1485, allocations: 235.7 kB / 493.5 MB, free: 7.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/1.961, allocations: 3.75 kB / 493.5 MB, free: 7.789 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches