Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001161/0.001161, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001128, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2417/0.2417, allocations: 46.11 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.00143, allocations: 75.25 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1257, allocations: 62.44 MB / 479.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.0044/0.1301, allocations: 2.105 MB / 481.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.1323, allocations: 1.111 MB / 482.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.1325, allocations: 4 kB / 482.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005507/0.133, allocations: 259.3 kB / 482.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005543/0.1336, allocations: 227.3 kB / 483.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.135, allocations: 0.6137 MB / 483.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003847/0.1354, allocations: 331.1 kB / 484 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.1356, allocations: 72.97 kB / 484.1 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.1357, allocations: 135.4 kB / 484.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.136, allocations: 211.2 kB / 484.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.136, allocations: 8 kB / 484.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.1362, allocations: 95.91 kB / 484.5 MB, free: 488 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.1363, allocations: 95.66 kB / 484.6 MB, free: 392 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.1364, allocations: 130.9 kB / 484.7 MB, free: 260 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003954/0.1368, allocations: 350.7 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1369, allocations: 3.938 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1369, allocations: 0 / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1369, allocations: 0 / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008543/0.1377, allocations: 0.7001 MB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1378, allocations: 8.875 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.415e-05/0.1378, allocations: 42.75 kB / 485.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.308e-05/0.1379, allocations: 44.38 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.1383, allocations: 353.9 kB / 486.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.1384, allocations: 8.375 kB / 486.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.1384, allocations: 16.36 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.1387, allocations: 121.6 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.1387, allocations: 7.984 kB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.1387, allocations: 8 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.463e-05/0.1388, allocations: 0 / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.139, allocations: 91.88 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006933/0.1397, allocations: 0.5159 MB / 487 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.1399, allocations: 130.4 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.868e-05/0.14, allocations: 32.84 kB / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.14, allocations: 7.984 kB / 487.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.14, allocations: 38.5 kB / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.14, allocations: 0 / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001036/0.1411, allocations: 463.7 kB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.1411, allocations: 51.41 kB / 487.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006801/0.1418, allocations: 0.5957 MB / 488.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.1418, allocations: 33.64 kB / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.142, allocations: 220.3 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/0.1421, allocations: 51.2 kB / 488.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.1421, allocations: 37.66 kB / 488.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1423, allocations: 358.8 kB / 489 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.1425, allocations: 67.95 kB / 489 MB, free: 11.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1426, allocations: 70.3 kB / 489.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.1429, allocations: 156.6 kB / 489.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1429, allocations: 0 / 489.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003787/0.1433, allocations: 231.2 kB / 489.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1433, allocations: 8 kB / 489.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1433, allocations: 0 / 489.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1433, allocations: 0 / 489.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.1435, allocations: 43.91 kB / 489.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1435, allocations: 0 / 489.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.88e-05/0.1436, allocations: 8 kB / 489.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.1436, allocations: 4 kB / 489.6 MB, free: 11.2 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 (17): * Single equations (assignments): 17 * 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.0001986/0.1438, allocations: 185.7 kB / 489.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.702e-05/0.1439, allocations: 51.38 kB / 489.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000524/0.1444, allocations: 285.6 kB / 490.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1445, allocations: 4 kB / 490.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1445, allocations: 0 / 490.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1445, allocations: 3.984 kB / 490.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009007/0.1454, allocations: 0.6997 MB / 490.8 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.1454, allocations: 0 / 490.8 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.1455, allocations: 35.92 kB / 490.8 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1455, allocations: 0 / 490.8 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.1455, allocations: 4 kB / 490.8 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.1456, allocations: 7.938 kB / 490.8 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1456, allocations: 0 / 490.8 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.146, allocations: 334.8 kB / 491.1 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.1461, allocations: 116.6 kB / 491.3 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.1461, allocations: 4 kB / 491.3 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.1463, allocations: 15.92 kB / 491.3 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.1463, allocations: 11.98 kB / 491.3 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.1463, allocations: 7.984 kB / 491.3 MB, free: 9.344 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004767/0.1468, allocations: 454.8 kB / 491.7 MB, free: 8.902 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1468, allocations: 0 / 491.7 MB, free: 8.902 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003029/0.1471, allocations: 51.91 kB / 491.8 MB, free: 8.852 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 (17): * Single equations (assignments): 17 * 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.002315/0.1495, allocations: 1.46 MB / 493.3 MB, free: 7.652 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003375/0.1498, allocations: 170.4 kB / 493.4 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1498, allocations: 0 / 493.4 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.15, allocations: 87.89 kB / 493.5 MB, free: 7.402 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005549/0.1506, allocations: 77.8 kB / 493.6 MB, free: 7.328 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.1546, allocations: 3.469 MB / 497.1 MB, free: 3.785 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.155, allocations: 0.826 MB / 497.9 MB, free: 2.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001432/0.1552, allocations: 62.22 kB / 497.9 MB, free: 2.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.1554, allocations: 139.4 kB / 498.1 MB, free: 2.73 MB / 366.1 MB Notification: Performance of SimCode: time 4.9e-07/0.1554, allocations: 0 / 498.1 MB, free: 2.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.1745, allocations: 7.51 MB / 0.4937 GB, free: 11.3 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.1748, allocations: 239.5 kB / 0.494 GB, free: 11.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/2.286, allocations: 0 / 0.494 GB, free: 11.04 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches