Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",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.0009908/0.0009907, allocations: 103 kB / 16.02 MB, free: 72 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.0009149/0.000915, allocations: 181 kB / 16.92 MB, free: 6.918 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.476/1.476, allocations: 205.4 MB / 223.1 MB, free: 5.773 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.3356/0.3356, allocations: 43.57 MB / 315 MB, free: 8.688 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.000494/0.0004941, allocations: 16 kB / 384.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1184, allocations: 58.86 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002138/0.1205, allocations: 1.321 MB / 444.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008436/0.1214, allocations: 351.6 kB / 445.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.88e-05/0.1215, allocations: 0 / 445.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006612/0.1222, allocations: 447.2 kB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.1226, allocations: 243.5 kB / 445.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.123, allocations: 143.8 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.1233, allocations: 159.6 kB / 446.2 MB, free: 9.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1235, allocations: 32.38 kB / 446.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.1237, allocations: 95.78 kB / 446.3 MB, free: 9.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.124, allocations: 203.6 kB / 446.5 MB, free: 9.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.124, allocations: 0 / 446.5 MB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1241, allocations: 27.98 kB / 446.5 MB, free: 9.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002484/0.1244, allocations: 87.69 kB / 446.6 MB, free: 9.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1245, allocations: 128.6 kB / 446.7 MB, free: 9.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.1249, allocations: 247 kB / 447 MB, free: 9.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1249, allocations: 0 / 447 MB, free: 9.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1249, allocations: 0 / 447 MB, free: 9.121 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1249, allocations: 0 / 447 MB, free: 9.121 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.0007533/0.1257, allocations: 0.5872 MB / 447.6 MB, free: 8.484 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.1257, allocations: 12.03 kB / 447.6 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.1258, allocations: 38.75 kB / 447.6 MB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.065e-05/0.1258, allocations: 44.38 kB / 447.7 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.1261, allocations: 300.2 kB / 448 MB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1261, allocations: 4.375 kB / 448 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.1262, allocations: 8.031 kB / 448 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.1263, allocations: 57.62 kB / 448 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1264, allocations: 0 / 448 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1264, allocations: 0 / 448 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1264, allocations: 4 kB / 448 MB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.1265, allocations: 39.97 kB / 448.1 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.1271, allocations: 396.6 kB / 448.5 MB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.1273, allocations: 58.5 kB / 448.5 MB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.949e-05/0.1274, allocations: 16.94 kB / 448.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1274, allocations: 0 / 448.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.1274, allocations: 34.56 kB / 448.6 MB, free: 7.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1274, allocations: 0 / 448.6 MB, free: 7.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006646/0.1281, allocations: 259.9 kB / 448.8 MB, free: 7.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.1282, allocations: 51.41 kB / 448.9 MB, free: 7.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008322/0.129, allocations: 0.8652 MB / 449.7 MB, free: 6.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.129, allocations: 29.7 kB / 449.8 MB, free: 6.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.1292, allocations: 224.1 kB / 450 MB, free: 5.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.1292, allocations: 19.73 kB / 450 MB, free: 5.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.1293, allocations: 13.72 kB / 450 MB, free: 5.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1294, allocations: 358.8 kB / 450.4 MB, free: 5.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.787e-05/0.1295, allocations: 27.97 kB / 450.4 MB, free: 5.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.267e-05/0.1296, allocations: 27.98 kB / 450.4 MB, free: 5.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.1298, allocations: 64.77 kB / 450.5 MB, free: 5.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1298, allocations: 0 / 450.5 MB, free: 5.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002301/0.13, allocations: 133.1 kB / 450.6 MB, free: 5.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.13, allocations: 7.938 kB / 450.6 MB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.13, allocations: 0 / 450.6 MB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.13, allocations: 0 / 450.6 MB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/0.1301, allocations: 12 kB / 450.6 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1301, allocations: 3.938 kB / 450.6 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.28e-05/0.1302, allocations: 11.98 kB / 450.6 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.1302, allocations: 0 / 450.6 MB, free: 5.219 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.0002055/0.1304, allocations: 221.7 kB / 450.9 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.1305, allocations: 43.69 kB / 450.9 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.1308, allocations: 149.1 kB / 451.1 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1308, allocations: 0 / 451.1 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1308, allocations: 7.938 kB / 451.1 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1308, allocations: 0 / 451.1 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005992/0.1314, allocations: 478.4 kB / 451.5 MB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1315, allocations: 0 / 451.5 MB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.1315, allocations: 12 kB / 451.5 MB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.1315, allocations: 7.938 kB / 451.5 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1315, allocations: 0 / 451.5 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1315, allocations: 0 / 451.5 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1316, allocations: 3.984 kB / 451.5 MB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.1318, allocations: 230.9 kB / 451.8 MB, free: 4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/0.1319, allocations: 108.9 kB / 451.9 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.132, allocations: 3.938 kB / 451.9 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.129e-05/0.132, allocations: 11.94 kB / 451.9 MB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.1321, allocations: 7.984 kB / 451.9 MB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.1321, allocations: 7.984 kB / 451.9 MB, free: 3.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005899/0.1327, allocations: 0.6511 MB / 452.6 MB, free: 3.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1327, allocations: 0 / 452.6 MB, free: 3.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.133, allocations: 28 kB / 452.6 MB, free: 3.168 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.00142/0.1344, allocations: 1.065 MB / 453.7 MB, free: 2.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.1346, allocations: 59.91 kB / 453.7 MB, free: 2.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1346, allocations: 0 / 453.7 MB, free: 2.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.305e-05/0.1347, allocations: 31.98 kB / 453.7 MB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.1351, allocations: 30.23 kB / 453.8 MB, free: 1.988 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1789/0.314, allocations: 3.357 MB / 457.1 MB, free: 45.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.3143, allocations: 0.8244 MB / 458 MB, free: 44.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.259e-05/0.3144, allocations: 15.84 kB / 458 MB, free: 44.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.3145, allocations: 112.5 kB / 458.1 MB, free: 44.45 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3145, allocations: 0 / 458.1 MB, free: 44.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.3287, allocations: 5.444 MB / 463.5 MB, free: 44.08 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.3289, allocations: 235.3 kB / 463.8 MB, free: 43.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.256, allocations: 3.938 kB / 463.8 MB, free: 43.81 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches