Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001476/0.001476, 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.002003/0.002003, 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.451/1.451, 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.24/0.24, allocations: 46.12 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 82.45 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.137, allocations: 62.44 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003726/0.1408, allocations: 1.68 MB / 481.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.1419, allocations: 0.5571 MB / 482.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.578e-05/0.1421, allocations: 4 kB / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.1424, allocations: 47.75 kB / 482.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004031/0.1428, allocations: 87.66 kB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.1432, allocations: 135.2 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.1434, allocations: 83.81 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.1435, allocations: 20.22 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.846e-05/0.1436, allocations: 35.84 kB / 482.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.1437, allocations: 43.78 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.1437, allocations: 4 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.1439, allocations: 51.98 kB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.145e-05/0.144, allocations: 23.91 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.512e-05/0.144, allocations: 31.73 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.1442, allocations: 119.9 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1443, allocations: 0 / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1443, allocations: 0 / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.1443, allocations: 0 / 483 MB, free: 2.277 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.0005333/0.1448, allocations: 411.1 kB / 483.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1449, allocations: 8.031 kB / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.634e-05/0.1449, allocations: 42.67 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.145, allocations: 8.844 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.1452, allocations: 205.3 kB / 483.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1452, allocations: 4.375 kB / 483.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.1453, allocations: 4.375 kB / 483.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.1454, allocations: 69.53 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.1455, allocations: 3.906 kB / 483.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1455, allocations: 7.938 kB / 483.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1455, allocations: 4 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.1456, allocations: 35.95 kB / 483.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.146, allocations: 316.7 kB / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.1463, allocations: 58.58 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.321e-05/0.1464, allocations: 24.97 kB / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.1464, allocations: 0 / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.1464, allocations: 38.56 kB / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1464, allocations: 0 / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001441/0.1479, allocations: 397.2 kB / 484.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.1479, allocations: 59.34 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.1481, allocations: 186.2 kB / 484.9 MB, free: 240 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.1481, allocations: 29.7 kB / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.1482, allocations: 96.14 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.1482, allocations: 39.44 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.1483, allocations: 29.7 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1484, allocations: 322.8 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.1485, allocations: 39.97 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.1487, allocations: 47.97 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.1489, allocations: 100.8 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1489, allocations: 64 / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000313/0.1493, allocations: 149.4 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1493, allocations: 4 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1493, allocations: 3.938 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1493, allocations: 7.938 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.1494, allocations: 23.98 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1495, allocations: 0 / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.083e-05/0.1495, allocations: 7.984 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1496, allocations: 11.94 kB / 485.8 MB, free: 15.3 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.0001113/0.1497, allocations: 125.8 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.1497, allocations: 11.91 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000386/0.1501, allocations: 158.3 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1502, allocations: 7.938 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1502, allocations: 0 / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1502, allocations: 0 / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006661/0.1508, allocations: 483.8 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1509, allocations: 0 / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.151, allocations: 27.97 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.151, allocations: 4 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.151, allocations: 4.062 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.151, allocations: 4 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.151, allocations: 0 / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.1514, allocations: 257.5 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.1515, allocations: 88.92 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.1515, allocations: 4 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1516, allocations: 11.98 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.1516, allocations: 11.98 kB / 486.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.1517, allocations: 0 / 486.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1518, allocations: 139.2 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1518, allocations: 0 / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1521, allocations: 28 kB / 487.1 MB, free: 13.85 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.001729/0.1538, allocations: 1.143 MB / 488.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003371/0.1541, allocations: 107.8 kB / 488.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1542, allocations: 4 kB / 488.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.1543, allocations: 59.91 kB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.1547, allocations: 19.98 kB / 488.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.1569, allocations: 1.779 MB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.1572, allocations: 0.7041 MB / 490.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.921e-05/0.1573, allocations: 20.55 kB / 490.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/0.1573, allocations: 35.42 kB / 491 MB, free: 9.988 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1574, allocations: 0 / 491 MB, free: 9.988 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.1779, allocations: 3.239 MB / 494.2 MB, free: 6.816 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/8.022, allocations: 13.06 kB / 494.2 MB, free: 6.805 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches