Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 103.9 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.001296/0.001296, allocations: 206.4 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.343/1.343, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 77.34 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1371, allocations: 62.43 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003663/0.1409, allocations: 1.674 MB / 481.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.1427, allocations: 1.167 MB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.58e-05/0.1428, allocations: 0 / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.1431, allocations: 27.84 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000378/0.1435, allocations: 83.62 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.1439, allocations: 139.2 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.1441, allocations: 67.78 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1442, allocations: 15.98 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.337e-05/0.1443, allocations: 35.91 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1444, allocations: 47.7 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1445, allocations: 4 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.1447, allocations: 91.94 kB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.592e-05/0.1448, allocations: 11.98 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.1448, allocations: 35.8 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.1451, allocations: 151.8 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1452, allocations: 0 / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1452, allocations: 0 / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1452, allocations: 0 / 483.7 MB, free: 1.637 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.000676/0.1459, allocations: 419.2 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1459, allocations: 15.97 kB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.146, allocations: 34.75 kB / 484.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.146, allocations: 8.844 kB / 484.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.1463, allocations: 198.8 kB / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1463, allocations: 12.31 kB / 484.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.1463, allocations: 384 / 484.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.1465, allocations: 83.31 kB / 484.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1465, allocations: 0 / 484.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1465, allocations: 3.984 kB / 484.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1466, allocations: 0 / 484.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.1467, allocations: 31.97 kB / 484.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.1471, allocations: 296.8 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.1472, allocations: 50.56 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.291e-05/0.1473, allocations: 20.94 kB / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.1474, allocations: 4 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.1474, allocations: 30.56 kB / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.1474, allocations: 0 / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008645/0.1483, allocations: 221.1 kB / 485.1 MB, free: 56 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.1483, allocations: 81.11 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.1485, allocations: 156.4 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1486, allocations: 25.7 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.1486, allocations: 100.1 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.1487, allocations: 19.72 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.1487, allocations: 21.7 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1489, allocations: 322.8 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.149, allocations: 27.92 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.1491, allocations: 57.67 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.1494, allocations: 68.81 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1494, allocations: 4 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003191/0.1497, allocations: 113.8 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1497, allocations: 4 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1497, allocations: 4.031 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1498, allocations: 0 / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.1499, allocations: 23.92 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1499, allocations: 3.984 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.799e-05/0.15, allocations: 19.88 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.15, allocations: 3.938 kB / 486.1 MB, free: 14.95 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 (7): * Single equations (assignments): 7 * 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.0001089/0.1501, allocations: 121.8 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.1502, allocations: 7.906 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00036/0.1506, allocations: 122.3 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1506, allocations: 0 / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1506, allocations: 0 / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.1506, allocations: 7.938 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.1512, allocations: 406.3 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1512, allocations: 0 / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.936e-05/0.1513, allocations: 23.98 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1513, allocations: 0 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1513, allocations: 3.938 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1513, allocations: 4 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1513, allocations: 0 / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.1517, allocations: 211.3 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.1517, allocations: 85.02 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.1518, allocations: 7.938 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1519, allocations: 11.98 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.1519, allocations: 7.984 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.1519, allocations: 0 / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.1521, allocations: 121.5 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1521, allocations: 0 / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.1524, allocations: 40 kB / 487.3 MB, free: 13.69 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 (7): * Single equations (assignments): 7 * 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.001675/0.1541, allocations: 1.133 MB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003118/0.1544, allocations: 87.92 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1544, allocations: 0 / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.1545, allocations: 43.91 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1549, allocations: 15.56 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.1571, allocations: 1.582 MB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.1574, allocations: 0.6924 MB / 490.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.1575, allocations: 20.94 kB / 490.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.497e-05/0.1576, allocations: 31.42 kB / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1576, allocations: 4.188 kB / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.1828, allocations: 3.413 MB / 494.3 MB, free: 6.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.406/7.588, allocations: 14.48 kB / 494.3 MB, free: 6.75 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches