Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00136/0.00136, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001631/0.001632, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.3 MB, free: 9.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2176/0.2176, allocations: 46.11 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 73.33 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1266, allocations: 62.46 MB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002977/0.1296, allocations: 1.728 MB / 481.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009782/0.1306, allocations: 0.569 MB / 481.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.792e-05/0.1307, allocations: 4 kB / 481.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005371/0.1312, allocations: 463.2 kB / 482.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.1316, allocations: 275.4 kB / 482.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.132, allocations: 159.4 kB / 482.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.1322, allocations: 175.6 kB / 482.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1323, allocations: 24.23 kB / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.87e-05/0.1324, allocations: 111.7 kB / 482.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.1326, allocations: 207.6 kB / 483.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1327, allocations: 0 / 483.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.924e-05/0.1328, allocations: 47.98 kB / 483.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.1329, allocations: 87.67 kB / 483.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.567e-05/0.133, allocations: 106.9 kB / 483.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.1333, allocations: 279.2 kB / 483.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1333, allocations: 0 / 483.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1333, allocations: 3.984 kB / 483.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1333, allocations: 0 / 483.6 MB, free: 1.402 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.0006852/0.134, allocations: 0.6492 MB / 484.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.134, allocations: 12.88 kB / 484.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.45e-05/0.1341, allocations: 34.75 kB / 484.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.517e-05/0.1341, allocations: 44.38 kB / 484.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.1344, allocations: 304.1 kB / 484.6 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.1344, allocations: 4.375 kB / 484.6 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.1344, allocations: 12.31 kB / 484.6 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1346, allocations: 61.61 kB / 484.7 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1346, allocations: 4 kB / 484.7 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1346, allocations: 0 / 484.7 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1346, allocations: 4 kB / 484.7 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1348, allocations: 31.97 kB / 484.7 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.1353, allocations: 416.7 kB / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.1354, allocations: 42.56 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.1354, allocations: 20.94 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.1355, allocations: 4 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.1355, allocations: 34.5 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.1355, allocations: 4 kB / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009443/0.1365, allocations: 328 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.1365, allocations: 55.34 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007908/0.1373, allocations: 0.8776 MB / 486.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.1373, allocations: 29.7 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.1375, allocations: 228.1 kB / 486.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.1375, allocations: 27.64 kB / 486.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.1376, allocations: 25.66 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1377, allocations: 362.8 kB / 487.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.581e-05/0.1378, allocations: 27.98 kB / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.591e-05/0.1379, allocations: 31.97 kB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.1381, allocations: 76.83 kB / 487.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/0.1381, allocations: 3.938 kB / 487.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000242/0.1383, allocations: 153 kB / 487.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1384, allocations: 4 kB / 487.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1384, allocations: 3.984 kB / 487.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1384, allocations: 0 / 487.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1385, allocations: 19.94 kB / 487.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.1385, allocations: 7.984 kB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.1386, allocations: 4 kB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.1386, allocations: 0 / 487.5 MB, free: 13.27 MB / 366.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.000183/0.1388, allocations: 217.8 kB / 487.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.1388, allocations: 47.38 kB / 487.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003272/0.1392, allocations: 173.5 kB / 487.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1392, allocations: 7.938 kB / 487.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1392, allocations: 0 / 487.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1392, allocations: 4 kB / 487.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006105/0.1398, allocations: 0.523 MB / 488.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1398, allocations: 0 / 488.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.255e-05/0.1399, allocations: 19.98 kB / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1399, allocations: 4.031 kB / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1399, allocations: 4 kB / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1399, allocations: 7.938 kB / 488.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1399, allocations: 0 / 488.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.1402, allocations: 247.7 kB / 488.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.357e-05/0.1403, allocations: 116.5 kB / 488.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.1404, allocations: 4 kB / 488.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.316e-05/0.1405, allocations: 7.984 kB / 488.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.1405, allocations: 4 kB / 488.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.1405, allocations: 4 kB / 488.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005948/0.1411, allocations: 0.6628 MB / 489.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1411, allocations: 0 / 489.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1414, allocations: 31.98 kB / 489.6 MB, free: 11.08 MB / 366.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.001494/0.1429, allocations: 1.132 MB / 490.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.1431, allocations: 75.89 kB / 490.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1431, allocations: 0 / 490.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.1432, allocations: 39.97 kB / 490.8 MB, free: 9.973 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.1437, allocations: 26.3 kB / 490.8 MB, free: 9.949 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.1473, allocations: 3.491 MB / 494.3 MB, free: 6.363 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.1478, allocations: 0.8346 MB / 495.2 MB, free: 5.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.023e-05/0.1479, allocations: 28.64 kB / 495.2 MB, free: 5.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.148, allocations: 115.4 kB / 495.3 MB, free: 5.359 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.148, allocations: 0 / 495.3 MB, free: 5.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.1656, allocations: 6.151 MB / 0.4897 GB, free: 15.28 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/0.1658, allocations: 229.4 kB / 0.4899 GB, free: 15.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.983/2.149, allocations: 0 / 0.4899 GB, free: 15.03 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches