Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001202/0.001202, 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.001271/0.001271, 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.384/1.384, 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.2242/0.2242, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001992, allocations: 83.77 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1331, allocations: 62.44 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003801/0.137, allocations: 1.671 MB / 481.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.1381, allocations: 0.5806 MB / 482.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.414e-05/0.1382, allocations: 0 / 482.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005794/0.1389, allocations: 459.1 kB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005053/0.1394, allocations: 295.3 kB / 483.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.1399, allocations: 179.1 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.1403, allocations: 175.7 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.1404, allocations: 24.22 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.1406, allocations: 115.7 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.1409, allocations: 211.6 kB / 483.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.1409, allocations: 7.984 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.1411, allocations: 47.98 kB / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.1412, allocations: 83.69 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.874e-05/0.1413, allocations: 106.9 kB / 484.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.1416, allocations: 279.2 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.1417, allocations: 0 / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1417, allocations: 3.938 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.1417, allocations: 4 kB / 484.3 MB, free: 0.9453 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.0008535/0.1426, allocations: 0.653 MB / 485 MB, free: 248 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.1426, allocations: 11.97 kB / 485 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.22e-05/0.1427, allocations: 38.73 kB / 485 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.395e-05/0.1427, allocations: 44.38 kB / 485.1 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.143, allocations: 300.2 kB / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1431, allocations: 384 / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.1431, allocations: 4.375 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.1433, allocations: 69.55 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1433, allocations: 0 / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1433, allocations: 7.984 kB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1433, allocations: 4 kB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.1434, allocations: 23.98 kB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.144, allocations: 420.5 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.1442, allocations: 50.55 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.1442, allocations: 12.86 kB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.1443, allocations: 4.078 kB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.1443, allocations: 38.56 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 4.378e-06/0.1443, allocations: 96 / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001021/0.1453, allocations: 331.7 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.1454, allocations: 55.34 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008354/0.1462, allocations: 0.8737 MB / 487.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1463, allocations: 29.7 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.1465, allocations: 228.1 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.1465, allocations: 27.66 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.1466, allocations: 21.7 kB / 487.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1467, allocations: 362.8 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.949e-05/0.1468, allocations: 31.95 kB / 487.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.736e-05/0.1469, allocations: 27.98 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.1471, allocations: 76.81 kB / 488 MB, free: 13.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1471, allocations: 7.938 kB / 488 MB, free: 13 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002561/0.1473, allocations: 149 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1474, allocations: 4 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1474, allocations: 0 / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1474, allocations: 432 / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1475, allocations: 23.92 kB / 488.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1475, allocations: 0 / 488.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.057e-05/0.1476, allocations: 11.98 kB / 488.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.1476, allocations: 3.938 kB / 488.2 MB, free: 12.81 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 (8): * Single equations (assignments): 8 * 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.0001758/0.1478, allocations: 217.8 kB / 488.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.1479, allocations: 47.42 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003319/0.1482, allocations: 181.4 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1482, allocations: 3.938 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.1482, allocations: 0 / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1482, allocations: 4 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000625/0.1489, allocations: 0.5226 MB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1489, allocations: 0 / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.466e-05/0.149, allocations: 19.98 kB / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.149, allocations: 0 / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.149, allocations: 4 kB / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.149, allocations: 8.031 kB / 489.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.149, allocations: 480 / 489.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.1493, allocations: 255.7 kB / 489.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.863e-05/0.1494, allocations: 112.5 kB / 489.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.1494, allocations: 4 kB / 489.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-05/0.1495, allocations: 8 kB / 489.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.1496, allocations: 7.984 kB / 489.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-06/0.1496, allocations: 4 kB / 489.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006249/0.1502, allocations: 0.6589 MB / 490.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1502, allocations: 0 / 490.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00029/0.1505, allocations: 32 kB / 490.3 MB, free: 10.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001715/0.1523, allocations: 1.137 MB / 491.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002693/0.1526, allocations: 79.89 kB / 491.5 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1526, allocations: 4 kB / 491.5 MB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.1527, allocations: 39.97 kB / 491.6 MB, free: 9.504 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.1532, allocations: 26.3 kB / 491.6 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003865/0.157, allocations: 3.423 MB / 495 MB, free: 5.961 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.1575, allocations: 0.8299 MB / 495.8 MB, free: 5.105 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.565e-05/0.1576, allocations: 28.7 kB / 495.9 MB, free: 5.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.1577, allocations: 119.4 kB / 496 MB, free: 4.961 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1577, allocations: 0 / 496 MB, free: 4.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.1838, allocations: 6.307 MB / 0.4905 GB, free: 14.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.333/7.517, allocations: 19.64 kB / 0.4905 GB, free: 14.69 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches