Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",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.001433/0.001433, allocations: 106.5 kB / 17.33 MB, free: 5.992 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.001374/0.001374, allocations: 189.3 kB / 18.25 MB, free: 5.086 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.427/1.427, allocations: 222.9 MB / 241.9 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.252/0.252, allocations: 44.18 MB / 336.2 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.19 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1266, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003234/0.1298, allocations: 1.645 MB / 470.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008455/0.1307, allocations: 427.3 kB / 470.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.29e-05/0.1308, allocations: 0 / 470.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006085/0.1314, allocations: 451.2 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004014/0.1319, allocations: 247.5 kB / 471.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.1324, allocations: 159.4 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.1326, allocations: 163.8 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1328, allocations: 16.17 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.1329, allocations: 115.7 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.1332, allocations: 223.5 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1332, allocations: 0 / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.691e-05/0.1333, allocations: 20 kB / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.1334, allocations: 83.62 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.899e-05/0.1335, allocations: 107 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.1338, allocations: 243.3 kB / 472.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1338, allocations: 4 kB / 472.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1338, allocations: 0 / 472.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1338, allocations: 4 kB / 472.7 MB, free: 10.73 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007326/0.1345, allocations: 0.6297 MB / 473.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1346, allocations: 12.03 kB / 473.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/0.1346, allocations: 34.75 kB / 473.4 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.1347, allocations: 40.47 kB / 473.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.135, allocations: 304.1 kB / 473.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.135, allocations: 8.375 kB / 473.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.135, allocations: 4.125 kB / 473.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1352, allocations: 53.67 kB / 473.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1352, allocations: 4 kB / 473.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1352, allocations: 0 / 473.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1352, allocations: 0 / 473.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.1354, allocations: 31.97 kB / 473.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005516/0.1359, allocations: 400.6 kB / 474.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.1361, allocations: 42.56 kB / 474.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.212e-05/0.1362, allocations: 24.94 kB / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.1362, allocations: 0 / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.1362, allocations: 34.56 kB / 474.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1362, allocations: 4 kB / 474.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003571/0.1366, allocations: 125.1 kB / 474.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.1366, allocations: 55.41 kB / 474.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007825/0.1374, allocations: 0.8574 MB / 475.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.1375, allocations: 25.7 kB / 475.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.1376, allocations: 219.9 kB / 475.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.1376, allocations: 15.83 kB / 475.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.1377, allocations: 17.72 kB / 475.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1378, allocations: 358.7 kB / 475.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.755e-05/0.1379, allocations: 19.98 kB / 476 MB, free: 7.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.677e-05/0.138, allocations: 19.98 kB / 476 MB, free: 7.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.1381, allocations: 44.81 kB / 476 MB, free: 7.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1381, allocations: 4 kB / 476 MB, free: 7.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002049/0.1383, allocations: 113 kB / 476.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1384, allocations: 4 kB / 476.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1384, allocations: 0 / 476.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1384, allocations: 3.938 kB / 476.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.199e-05/0.1385, allocations: 11.98 kB / 476.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1385, allocations: 0 / 476.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.955e-05/0.1385, allocations: 7.984 kB / 476.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1386, allocations: 4 kB / 476.2 MB, free: 7.004 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 (3): * Single equations (assignments): 3 * 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.0001784/0.1387, allocations: 209.7 kB / 476.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.96e-05/0.1388, allocations: 39.86 kB / 476.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.1391, allocations: 132.9 kB / 476.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1391, allocations: 4 kB / 476.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1391, allocations: 0 / 476.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1391, allocations: 4 kB / 476.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.1394, allocations: 301.4 kB / 476.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1394, allocations: 0 / 476.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.647e-05/0.1395, allocations: 4 kB / 476.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1395, allocations: 4 kB / 476.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1395, allocations: 0 / 476.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1395, allocations: 0 / 476.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1395, allocations: 0 / 476.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.1397, allocations: 207 kB / 477.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.207e-05/0.1398, allocations: 116.5 kB / 477.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.1399, allocations: 0 / 477.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.14, allocations: 4 kB / 477.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.14, allocations: 11.92 kB / 477.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.14, allocations: 0 / 477.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005808/0.1406, allocations: 0.6472 MB / 477.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1406, allocations: 3.938 kB / 477.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1409, allocations: 23.94 kB / 477.9 MB, free: 5.207 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 (3): * Single equations (assignments): 3 * 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.001146/0.142, allocations: 0.9915 MB / 478.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.1422, allocations: 43.91 kB / 478.9 MB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1422, allocations: 0 / 478.9 MB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.951e-05/0.1423, allocations: 23.97 kB / 478.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.1427, allocations: 21.97 kB / 478.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.1461, allocations: 3.272 MB / 482.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.1465, allocations: 0.8221 MB / 483 MB, free: 20 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.613e-05/0.1466, allocations: 11.98 kB / 483 MB, free: 8 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.1467, allocations: 107.6 kB / 483.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1467, allocations: 3.938 kB / 483.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.176, allocations: 5.568 MB / 488.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/0.1763, allocations: 232.7 kB / 488.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/1.957, allocations: 8 kB / 489 MB, free: 10.18 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches