Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001101/0.001101, 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.001276/0.001276, 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.398/1.398, 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.2285/0.2285, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 82.06 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1332, allocations: 62.43 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003714/0.137, allocations: 1.618 MB / 481.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1381, allocations: 0.5416 MB / 482.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.1382, allocations: 0 / 482.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000594/0.1388, allocations: 451.2 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005013/0.1394, allocations: 291.3 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.1398, allocations: 131.4 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.1401, allocations: 151.8 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.1402, allocations: 16.17 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.1403, allocations: 111.7 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.1406, allocations: 207.6 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.1406, allocations: 4 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-05/0.1407, allocations: 31.97 kB / 483.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.54e-05/0.1408, allocations: 75.7 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.576e-05/0.1409, allocations: 103 kB / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.1412, allocations: 251 kB / 484.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1412, allocations: 0 / 484.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1412, allocations: 0 / 484.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.1412, allocations: 0 / 484.1 MB, free: 1.238 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.0007125/0.1419, allocations: 0.6338 MB / 484.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.142, allocations: 12.03 kB / 484.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.142, allocations: 34.75 kB / 484.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.688e-05/0.1421, allocations: 40.38 kB / 484.8 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.1424, allocations: 300.1 kB / 485.1 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1424, allocations: 4.375 kB / 485.1 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.1424, allocations: 8.125 kB / 485.1 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1426, allocations: 49.67 kB / 485.1 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1426, allocations: 3.984 kB / 485.1 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.1426, allocations: 0 / 485.1 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1426, allocations: 4 kB / 485.2 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.426e-05/0.1427, allocations: 23.92 kB / 485.2 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.1432, allocations: 376.8 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.472e-05/0.1433, allocations: 30.52 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/0.1434, allocations: 16.91 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1434, allocations: 0 / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.1434, allocations: 38.5 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1434, allocations: 0 / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002877/0.1437, allocations: 101.1 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.1438, allocations: 51.41 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009331/0.1447, allocations: 0.8738 MB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1448, allocations: 25.7 kB / 486.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.1449, allocations: 224 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.145, allocations: 7.891 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.145, allocations: 17.72 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1452, allocations: 366.8 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-05/0.1453, allocations: 15.98 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.225e-05/0.1453, allocations: 4 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.955e-05/0.1454, allocations: 28.78 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1454, allocations: 0 / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001701/0.1456, allocations: 93.11 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1456, allocations: 10.59 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.1456, allocations: 0 / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1456, allocations: 0 / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.571e-05/0.1457, allocations: 8 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1457, allocations: 0 / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.228e-05/0.1458, allocations: 0 / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.1458, allocations: 7.938 kB / 487.4 MB, free: 13.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 (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.0001943/0.146, allocations: 205.8 kB / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.416e-05/0.1461, allocations: 43.44 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.1463, allocations: 112.7 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.1463, allocations: 4 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1463, allocations: 0 / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1463, allocations: 3.984 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.1467, allocations: 289.5 kB / 488.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1467, allocations: 0 / 488.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.1467, allocations: 4 kB / 488.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1467, allocations: 0 / 488.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1467, allocations: 0 / 488.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1468, allocations: 7.969 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1468, allocations: 0 / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.147, allocations: 198.8 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.819e-05/0.1471, allocations: 104.6 kB / 488.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.1471, allocations: 7.984 kB / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/0.1472, allocations: 4 kB / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.1472, allocations: 32 / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.1472, allocations: 4 kB / 488.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006244/0.1479, allocations: 0.6628 MB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1479, allocations: 0 / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.1481, allocations: 16 kB / 489.1 MB, free: 11.89 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.001155/0.1493, allocations: 0.9688 MB / 490.1 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.1494, allocations: 19.98 kB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1495, allocations: 4.062 kB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.736e-05/0.1495, allocations: 11.98 kB / 490.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.1499, allocations: 33.8 kB / 490.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.1536, allocations: 3.182 MB / 493.3 MB, free: 7.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.1541, allocations: 0.8182 MB / 494.1 MB, free: 6.816 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.022e-05/0.1541, allocations: 16.05 kB / 494.1 MB, free: 6.801 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.1542, allocations: 107.4 kB / 494.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of SimCode: time 5.62e-07/0.1542, allocations: 0 / 494.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.1784, allocations: 5.598 MB / 499.8 MB, free: 1.148 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.73/7.909, allocations: 1.078 kB / 499.8 MB, free: 1.148 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches