Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001023/0.001027, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001205/0.001205, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2325/0.2325, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 69.81 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1402, allocations: 62.45 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003697/0.144, allocations: 1.657 MB / 481.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009852/0.145, allocations: 0.5494 MB / 482.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/0.145, allocations: 0 / 482.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005329/0.1456, allocations: 463.1 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004154/0.146, allocations: 287.3 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.1464, allocations: 126.8 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.1466, allocations: 171.6 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1467, allocations: 19.98 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1468, allocations: 103.8 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.1471, allocations: 211.6 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1471, allocations: 4 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-05/0.1472, allocations: 39.97 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.1473, allocations: 83.62 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.315e-05/0.1474, allocations: 107 kB / 483.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.1476, allocations: 259.2 kB / 484.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1477, allocations: 0 / 484.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1477, allocations: 0 / 484.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1477, allocations: 0 / 484.2 MB, free: 1.129 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.0006693/0.1483, allocations: 0.6336 MB / 484.8 MB, free: 456 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1484, allocations: 12.03 kB / 484.8 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.1484, allocations: 34.75 kB / 484.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.1485, allocations: 48.31 kB / 484.9 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.1488, allocations: 304.1 kB / 485.2 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.1488, allocations: 4.375 kB / 485.2 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.1488, allocations: 384 / 485.2 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.149, allocations: 57.7 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.149, allocations: 3.984 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.149, allocations: 0 / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.149, allocations: 0 / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.464e-05/0.1491, allocations: 35.91 kB / 485.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.1496, allocations: 392.5 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.1498, allocations: 46.56 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.1498, allocations: 16.94 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.1499, allocations: 4 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.1499, allocations: 34.5 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1499, allocations: 4 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005762/0.1505, allocations: 228 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.1505, allocations: 55.34 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008247/0.1514, allocations: 0.8737 MB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1514, allocations: 25.7 kB / 487 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.1516, allocations: 224.1 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.1516, allocations: 31.58 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.1516, allocations: 17.72 kB / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1518, allocations: 358.8 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.512e-05/0.1519, allocations: 19.98 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.887e-05/0.152, allocations: 19.98 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.1521, allocations: 44.84 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1521, allocations: 4 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000213/0.1523, allocations: 113.4 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1523, allocations: 7.938 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.1523, allocations: 4 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1524, allocations: 0 / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/0.1524, allocations: 15.98 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1525, allocations: 0 / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.19e-05/0.1525, allocations: 11.84 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.1525, allocations: 4 kB / 487.8 MB, free: 13.25 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 (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.0002421/0.1528, allocations: 213.8 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.1529, allocations: 39.53 kB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.1531, allocations: 133.2 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1532, allocations: 11.92 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1532, allocations: 0 / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1532, allocations: 3.938 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005478/0.1537, allocations: 458.4 kB / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1537, allocations: 0 / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/0.1538, allocations: 19.92 kB / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1538, allocations: 0 / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.1538, allocations: 3.938 kB / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1538, allocations: 0 / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.1538, allocations: 0 / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.1541, allocations: 223 kB / 488.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.1543, allocations: 112.5 kB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.1543, allocations: 7.922 kB / 489 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.1545, allocations: 4.188 kB / 489 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.1545, allocations: 4 kB / 489 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.1545, allocations: 8 kB / 489 MB, free: 11.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006289/0.1552, allocations: 0.6628 MB / 489.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1552, allocations: 0 / 489.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1554, allocations: 20 kB / 489.7 MB, free: 11.24 MB / 366.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.001385/0.1568, allocations: 1.045 MB / 490.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.157, allocations: 47.97 kB / 490.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1571, allocations: 0 / 490.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.975e-05/0.1571, allocations: 27.92 kB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.1576, allocations: 33.72 kB / 490.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.1611, allocations: 3.272 MB / 494.1 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.1617, allocations: 0.8183 MB / 495 MB, free: 5.988 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.194e-05/0.1617, allocations: 11.94 kB / 495 MB, free: 5.977 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.1619, allocations: 107.4 kB / 495.1 MB, free: 5.871 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1619, allocations: 0 / 495.1 MB, free: 5.871 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.1839, allocations: 5.908 MB / 0.4892 GB, free: 12 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.999/8.183, allocations: 1.078 kB / 0.4892 GB, free: 12 kB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches