Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001566/0.001566, allocations: 104.2 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001921/0.001921, 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.555/1.555, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 46.11 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 84.05 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.131, allocations: 62.44 MB / 479.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003466/0.1345, allocations: 1.739 MB / 481.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1356, allocations: 0.5533 MB / 481.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.1357, allocations: 0 / 481.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.136, allocations: 63.8 kB / 481.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.1364, allocations: 71.8 kB / 481.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.1367, allocations: 131.1 kB / 481.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.1369, allocations: 75.83 kB / 482 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.137, allocations: 20.2 kB / 482 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.69e-05/0.1371, allocations: 35.78 kB / 482.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1373, allocations: 55.81 kB / 482.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.1373, allocations: 4 kB / 482.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.1374, allocations: 47.98 kB / 482.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.938e-05/0.1375, allocations: 19.92 kB / 482.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.1376, allocations: 39.72 kB / 482.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.1378, allocations: 111.8 kB / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1378, allocations: 0 / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1378, allocations: 0 / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1378, allocations: 0 / 482.3 MB, free: 2.68 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.0006464/0.1385, allocations: 438.9 kB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.1385, allocations: 8.875 kB / 482.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.393e-05/0.1386, allocations: 34.73 kB / 482.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/0.1387, allocations: 12.84 kB / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.1389, allocations: 204.8 kB / 483 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1389, allocations: 4.312 kB / 483 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.139, allocations: 4.375 kB / 483 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.1392, allocations: 65.55 kB / 483.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.1392, allocations: 0 / 483.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1392, allocations: 8 kB / 483.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1392, allocations: 4 kB / 483.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.1394, allocations: 35.95 kB / 483.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.1398, allocations: 316.6 kB / 483.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.1401, allocations: 58.55 kB / 483.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.067e-05/0.1402, allocations: 24.97 kB / 483.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.1402, allocations: 0 / 483.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.1403, allocations: 34.56 kB / 483.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1403, allocations: 0 / 483.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001523/0.1418, allocations: 405.1 kB / 484 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.1418, allocations: 51.41 kB / 484 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.1421, allocations: 195.3 kB / 484.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1421, allocations: 29.7 kB / 484.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.1422, allocations: 108 kB / 484.3 MB, free: 480 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.1422, allocations: 35.55 kB / 484.4 MB, free: 444 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.1423, allocations: 29.7 kB / 484.4 MB, free: 408 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1424, allocations: 322.8 kB / 484.7 MB, free: 76 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.1425, allocations: 39.97 kB / 484.8 MB, free: 36 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.1427, allocations: 44.02 kB / 484.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.1429, allocations: 101 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1429, allocations: 0 / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003138/0.1433, allocations: 153.3 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1433, allocations: 4 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1433, allocations: 0 / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1433, allocations: 3.938 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1434, allocations: 27.98 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1435, allocations: 8 kB / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.515e-05/0.1435, allocations: 7.984 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1436, allocations: 4 kB / 485.1 MB, free: 15.68 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 (11): * Single equations (assignments): 11 * 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.000112/0.1437, allocations: 129.8 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.1437, allocations: 15.81 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003887/0.1441, allocations: 170.9 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1441, allocations: 7.875 kB / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1441, allocations: 0 / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1442, allocations: 0 / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006768/0.1448, allocations: 484 kB / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1449, allocations: 0 / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.145, allocations: 31.97 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.145, allocations: 0 / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.145, allocations: 4 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.145, allocations: 0 / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.145, allocations: 3.938 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.1454, allocations: 261 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.446e-05/0.1455, allocations: 93.17 kB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.1455, allocations: 8 kB / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.876e-05/0.1456, allocations: 8 kB / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.1457, allocations: 11.98 kB / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.1457, allocations: 4 kB / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.1458, allocations: 152.9 kB / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.813e-06/0.1458, allocations: 0 / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.1461, allocations: 39.83 kB / 486.5 MB, free: 14.17 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001701/0.1478, allocations: 1.125 MB / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003222/0.1482, allocations: 103.9 kB / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1482, allocations: 0 / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.1483, allocations: 59.89 kB / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.1488, allocations: 16.12 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.151, allocations: 1.853 MB / 489.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.1513, allocations: 0.7201 MB / 490.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.192e-05/0.1514, allocations: 16.53 kB / 490.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.32e-05/0.1515, allocations: 39.36 kB / 490.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1515, allocations: 0 / 490.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.1657, allocations: 3.133 MB / 493.6 MB, free: 7.207 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.1659, allocations: 235.7 kB / 493.8 MB, free: 6.949 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/2.167, allocations: 7.188 kB / 493.8 MB, free: 6.945 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches