Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001544/0.001544, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001906/0.001906, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 246.3 MB, free: 9.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2199/0.2199, allocations: 46.11 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 73.34 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1368, allocations: 62.46 MB / 479.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003632/0.1405, allocations: 1.735 MB / 481.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1416, allocations: 0.5455 MB / 481.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.1417, allocations: 4 kB / 481.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.1419, allocations: 63.78 kB / 481.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.1423, allocations: 79.8 kB / 481.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.1427, allocations: 119.7 kB / 481.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.1428, allocations: 79.75 kB / 482 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.143, allocations: 20.22 kB / 482 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.161e-05/0.143, allocations: 31.86 kB / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1431, allocations: 51.75 kB / 482.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.1432, allocations: 4 kB / 482.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.1433, allocations: 51.98 kB / 482.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.041e-05/0.1434, allocations: 23.91 kB / 482.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.1434, allocations: 31.73 kB / 482.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.1437, allocations: 119.8 kB / 482.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1437, allocations: 3.938 kB / 482.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1437, allocations: 0 / 482.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1437, allocations: 0 / 482.3 MB, free: 2.629 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.000553/0.1442, allocations: 419.1 kB / 482.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1443, allocations: 12.88 kB / 482.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.587e-05/0.1443, allocations: 46.73 kB / 482.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.1444, allocations: 16.69 kB / 482.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.1446, allocations: 200.1 kB / 483 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1446, allocations: 4.375 kB / 483 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.1447, allocations: 4.375 kB / 483 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.1448, allocations: 65.61 kB / 483.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1449, allocations: 0 / 483.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.1449, allocations: 0 / 483.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1449, allocations: 0 / 483.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.145, allocations: 47.89 kB / 483.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.1455, allocations: 308.7 kB / 483.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.1457, allocations: 58.58 kB / 483.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.393e-05/0.1458, allocations: 28.97 kB / 483.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.1458, allocations: 0 / 483.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.1459, allocations: 30.56 kB / 483.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.1459, allocations: 0 / 483.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001455/0.1473, allocations: 396.7 kB / 483.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.1474, allocations: 55.41 kB / 484 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.1476, allocations: 193.9 kB / 484.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1476, allocations: 33.64 kB / 484.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.1477, allocations: 100.1 kB / 484.3 MB, free: 452 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.1477, allocations: 39.44 kB / 484.4 MB, free: 412 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.1478, allocations: 25.72 kB / 484.4 MB, free: 380 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1479, allocations: 326.8 kB / 484.7 MB, free: 44 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.148, allocations: 43.97 kB / 484.7 MB, free: 0 / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1482, allocations: 48 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.1484, allocations: 97.38 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1484, allocations: 0 / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000326/0.1488, allocations: 145.4 kB / 485 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1488, allocations: 7.984 kB / 485 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1488, allocations: 7.984 kB / 485 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1488, allocations: 7.875 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1489, allocations: 31.92 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.149, allocations: 0 / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.236e-05/0.149, allocations: 19.98 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1491, allocations: 0 / 485.1 MB, free: 15.63 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 9.861e-05/0.1492, allocations: 129.8 kB / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.1492, allocations: 7.906 kB / 485.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004027/0.1496, allocations: 166.8 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1496, allocations: 3.938 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1496, allocations: 4 kB / 485.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1497, allocations: 4 kB / 485.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000653/0.1503, allocations: 475.9 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1503, allocations: 0 / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.1504, allocations: 28.05 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.1505, allocations: 0 / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1505, allocations: 11.98 kB / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1505, allocations: 0 / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1505, allocations: 4 kB / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.1509, allocations: 256.9 kB / 486.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.1509, allocations: 92.92 kB / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.151, allocations: 4 kB / 486.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1511, allocations: 7.984 kB / 486.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.1511, allocations: 11.98 kB / 486.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.1511, allocations: 4 kB / 486.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.1513, allocations: 153.8 kB / 486.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1513, allocations: 0 / 486.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.1516, allocations: 24 kB / 486.5 MB, free: 14.16 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.001642/0.1532, allocations: 1.132 MB / 487.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003367/0.1536, allocations: 111.9 kB / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.1536, allocations: 0 / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.1537, allocations: 55.91 kB / 487.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.1541, allocations: 15.98 kB / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.1564, allocations: 1.841 MB / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.1567, allocations: 0.7083 MB / 490.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.286e-05/0.1567, allocations: 24.48 kB / 490.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.1568, allocations: 39.42 kB / 490.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.144e-06/0.1568, allocations: 0 / 490.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.1727, allocations: 3.108 MB / 493.5 MB, free: 7.227 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/0.1729, allocations: 239.7 kB / 493.7 MB, free: 6.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.147, allocations: 0 / 493.7 MB, free: 6.965 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches