Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001236/0.001237, allocations: 104.5 kB / 17.63 MB, free: 5.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.001368/0.001368, allocations: 192 kB / 18.56 MB, free: 4.434 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.433/1.433, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.2167/0.2167, allocations: 44.17 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 71.48 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1173, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003382/0.1208, allocations: 1.573 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007722/0.1216, allocations: 403.2 kB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.1216, allocations: 0 / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005253/0.1221, allocations: 455.2 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003712/0.1226, allocations: 247.5 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.1229, allocations: 135.3 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.1232, allocations: 139.8 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.562e-05/0.1232, allocations: 11.98 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.1234, allocations: 111.7 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.1237, allocations: 203.6 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1237, allocations: 8 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.106e-05/0.1238, allocations: 19.98 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.501e-05/0.1238, allocations: 83.69 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.096e-05/0.1239, allocations: 98.98 kB / 472.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.1242, allocations: 239 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1242, allocations: 0 / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1242, allocations: 0 / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1242, allocations: 0 / 473 MB, free: 10.57 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.0005766/0.1248, allocations: 0.633 MB / 473.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.57e-05/0.1248, allocations: 12.03 kB / 473.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.532e-05/0.1248, allocations: 30.75 kB / 473.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.1249, allocations: 52.36 kB / 473.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.1252, allocations: 296.1 kB / 474.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1252, allocations: 4.375 kB / 474.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.1252, allocations: 4.375 kB / 474.1 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.1253, allocations: 45.62 kB / 474.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1253, allocations: 0 / 474.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1254, allocations: 0 / 474.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1254, allocations: 3.984 kB / 474.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.008e-05/0.1254, allocations: 31.92 kB / 474.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.1259, allocations: 372.8 kB / 474.5 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.65e-05/0.126, allocations: 26.58 kB / 474.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.517e-05/0.126, allocations: 16.91 kB / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.126, allocations: 4 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1261, allocations: 34.5 kB / 474.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.1261, allocations: 0 / 474.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002416/0.1263, allocations: 101.1 kB / 474.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/0.1264, allocations: 51.41 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009243/0.1274, allocations: 0.8575 MB / 475.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1274, allocations: 29.64 kB / 475.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.1275, allocations: 228.2 kB / 475.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.1276, allocations: 7.844 kB / 475.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.1276, allocations: 13.72 kB / 475.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1277, allocations: 366.7 kB / 476.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.108e-05/0.1278, allocations: 8 kB / 476.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.022e-05/0.1278, allocations: 4 kB / 476.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.365e-05/0.1279, allocations: 32.84 kB / 476.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1279, allocations: 3.938 kB / 476.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001372/0.1281, allocations: 93.11 kB / 476.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1281, allocations: 4 kB / 476.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1281, allocations: 0 / 476.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1281, allocations: 0 / 476.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.302e-05/0.1282, allocations: 4 kB / 476.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1282, allocations: 0 / 476.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.647e-05/0.1282, allocations: 4 kB / 476.4 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1283, allocations: 8.031 kB / 476.4 MB, free: 6.992 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 (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.000174/0.1284, allocations: 213.7 kB / 476.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.1285, allocations: 39.53 kB / 476.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.1287, allocations: 104.5 kB / 476.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1287, allocations: 0 / 476.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1288, allocations: 0 / 476.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1288, allocations: 0 / 476.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.1291, allocations: 297.4 kB / 477 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1291, allocations: 4.031 kB / 477 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.343e-05/0.1291, allocations: 7.984 kB / 477 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1291, allocations: 0 / 477 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1291, allocations: 4 kB / 477 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1291, allocations: 3.984 kB / 477 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1291, allocations: 0 / 477 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.1293, allocations: 187 kB / 477.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.1294, allocations: 120.6 kB / 477.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.1295, allocations: 0 / 477.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.1295, allocations: 4 kB / 477.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.1296, allocations: 0 / 477.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1296, allocations: 0 / 477.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006143/0.1302, allocations: 0.655 MB / 478 MB, free: 5.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1302, allocations: 4 kB / 478 MB, free: 5.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.1304, allocations: 19.94 kB / 478 MB, free: 5.246 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 (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.001141/0.1316, allocations: 0.9557 MB / 479 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001268/0.1317, allocations: 23.92 kB / 479 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1317, allocations: 0 / 479 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.401e-05/0.1318, allocations: 15.98 kB / 479 MB, free: 4.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.1322, allocations: 31.5 kB / 479 MB, free: 4.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.1354, allocations: 3.153 MB / 482.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/0.136, allocations: 0.8143 MB / 483 MB, free: 256 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.452e-05/0.136, allocations: 7.984 kB / 483 MB, free: 248 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.1361, allocations: 107.4 kB / 483.1 MB, free: 140 kB / 350.1 MB Notification: Performance of SimCode: time 2.093e-06/0.1361, allocations: 0 / 483.1 MB, free: 140 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.1602, allocations: 5.565 MB / 488.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.461/7.621, allocations: 2.656 kB / 488.7 MB, free: 10.65 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches