Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009767/0.0009771, 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.001028/0.001028, 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.396/1.396, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2186/0.2186, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 78.47 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1376, allocations: 62.44 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002645/0.1403, allocations: 1.614 MB / 481.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000827/0.1411, allocations: 0.5338 MB / 482.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.1411, allocations: 3.938 kB / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004748/0.1416, allocations: 463.1 kB / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.142, allocations: 287.3 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.1423, allocations: 130.9 kB / 483.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.1425, allocations: 155.8 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.227e-05/0.1426, allocations: 8.188 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.067e-05/0.1426, allocations: 115.7 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.1428, allocations: 211.6 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.1429, allocations: 4 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.673e-05/0.1429, allocations: 24 kB / 483.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.666e-05/0.143, allocations: 79.69 kB / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.459e-05/0.1431, allocations: 99 kB / 483.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.1433, allocations: 251 kB / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1433, allocations: 0 / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.1433, allocations: 0 / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1433, allocations: 0 / 484.1 MB, free: 1.219 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.0005682/0.1439, allocations: 0.6377 MB / 484.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1439, allocations: 12.03 kB / 484.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.036e-05/0.144, allocations: 34.73 kB / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/0.144, allocations: 44.38 kB / 484.8 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.1443, allocations: 296.1 kB / 485.1 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.1443, allocations: 4.375 kB / 485.1 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.1443, allocations: 4.125 kB / 485.1 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.1444, allocations: 49.69 kB / 485.1 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.1444, allocations: 0 / 485.1 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.1445, allocations: 3.984 kB / 485.1 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1445, allocations: 0 / 485.1 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.568e-05/0.1446, allocations: 27.92 kB / 485.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.145, allocations: 376.8 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.633e-05/0.1451, allocations: 34.5 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.374e-05/0.1451, allocations: 12.91 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.1451, allocations: 8 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.1452, allocations: 34.5 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1452, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002512/0.1454, allocations: 97.12 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.1455, allocations: 55.39 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000753/0.1462, allocations: 0.8699 MB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.1463, allocations: 25.7 kB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.1464, allocations: 228.2 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.1464, allocations: 7.906 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.1465, allocations: 17.7 kB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1466, allocations: 362.7 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-05/0.1467, allocations: 11.94 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.211e-05/0.1467, allocations: 7.984 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.24e-05/0.1468, allocations: 32.84 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.1468, allocations: 0 / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001395/0.1469, allocations: 89.12 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.147, allocations: 8 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.147, allocations: 0 / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.147, allocations: 0 / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.078e-05/0.1471, allocations: 7.984 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1471, allocations: 0 / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.653e-05/0.1471, allocations: 4 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.1471, allocations: 7.969 kB / 487.4 MB, free: 13.61 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 (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.0001657/0.1473, allocations: 213.8 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.1474, allocations: 39.44 kB / 487.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.1475, allocations: 104.7 kB / 487.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1476, allocations: 0 / 487.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1476, allocations: 0 / 487.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1476, allocations: 0 / 487.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.1478, allocations: 293.5 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1478, allocations: 4.031 kB / 488.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.518e-05/0.1479, allocations: 7.984 kB / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1479, allocations: 0 / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1479, allocations: 0 / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1479, allocations: 7.938 kB / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1479, allocations: 3.984 kB / 488.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.1481, allocations: 198.8 kB / 488.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.915e-05/0.1482, allocations: 108.6 kB / 488.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.1482, allocations: 4 kB / 488.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.1483, allocations: 0 / 488.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.1483, allocations: 3.984 kB / 488.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1483, allocations: 4 kB / 488.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005509/0.1489, allocations: 0.6589 MB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1489, allocations: 0 / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.1491, allocations: 15.98 kB / 489.1 MB, free: 11.86 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 (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.001048/0.1502, allocations: 0.9711 MB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.1503, allocations: 23.98 kB / 490.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1503, allocations: 0 / 490.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.691e-05/0.1503, allocations: 11.98 kB / 490.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.1507, allocations: 25.25 kB / 490.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/0.1536, allocations: 3.194 MB / 493.3 MB, free: 7.633 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.1539, allocations: 0.8182 MB / 494.1 MB, free: 6.789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.951e-05/0.154, allocations: 7.984 kB / 494.1 MB, free: 6.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.1541, allocations: 111.4 kB / 494.2 MB, free: 6.672 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1541, allocations: 0 / 494.2 MB, free: 6.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.1784, allocations: 5.592 MB / 499.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.835/8.013, allocations: 1.078 kB / 499.8 MB, free: 1.129 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches