Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00166/0.001661, allocations: 114 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001428, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 227.4 MB / 246.4 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2304/0.2304, allocations: 46.1 MB / 343.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.0018, allocations: 79.09 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1194, allocations: 62.43 MB / 479.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003535/0.1229, allocations: 1.724 MB / 481.3 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.125, allocations: 1.179 MB / 482.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.347e-05/0.1251, allocations: 0 / 482.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.1254, allocations: 23.86 kB / 482.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.1258, allocations: 67.81 kB / 482.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.1263, allocations: 162.5 kB / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.1265, allocations: 79.77 kB / 482.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1266, allocations: 19.98 kB / 482.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.957e-05/0.1267, allocations: 35.8 kB / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.1269, allocations: 43.83 kB / 482.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.127, allocations: 4 kB / 482.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.1272, allocations: 99.88 kB / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.589e-05/0.1273, allocations: 19.92 kB / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.1274, allocations: 35.78 kB / 483.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.1278, allocations: 147.9 kB / 483.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1278, allocations: 0 / 483.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1278, allocations: 0 / 483.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.1278, allocations: 0 / 483.2 MB, free: 1.871 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006904/0.1285, allocations: 415.1 kB / 483.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.1286, allocations: 12.03 kB / 483.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.1286, allocations: 38.69 kB / 483.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.75e-05/0.1287, allocations: 12.83 kB / 483.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.1289, allocations: 200.1 kB / 483.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.129, allocations: 4.375 kB / 483.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.129, allocations: 4.375 kB / 483.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.1292, allocations: 87.3 kB / 484 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1292, allocations: 0 / 484 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1292, allocations: 0 / 484 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1293, allocations: 0 / 484 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.1294, allocations: 43.91 kB / 484 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005041/0.1299, allocations: 304.8 kB / 484.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.1301, allocations: 54.55 kB / 484.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.044e-05/0.1302, allocations: 24.94 kB / 484.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.1302, allocations: 4.062 kB / 484.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.1302, allocations: 42.44 kB / 484.4 MB, free: 484 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1303, allocations: 0 / 484.4 MB, free: 484 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008901/0.1311, allocations: 233.1 kB / 484.7 MB, free: 244 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/0.1312, allocations: 81.05 kB / 484.7 MB, free: 144 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.1315, allocations: 156 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.1315, allocations: 37.69 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.07e-05/0.1316, allocations: 96.14 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.1317, allocations: 19.7 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.1317, allocations: 21.72 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1319, allocations: 322.8 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.1321, allocations: 35.97 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.1322, allocations: 57.67 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.1325, allocations: 84.8 kB / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1325, allocations: 0 / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003322/0.1328, allocations: 129.4 kB / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.1328, allocations: 8 kB / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1329, allocations: 4.031 kB / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.1329, allocations: 0 / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.133, allocations: 23.98 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.1331, allocations: 0 / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.326e-05/0.1331, allocations: 19.77 kB / 485.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.108e-06/0.1332, allocations: 4 kB / 485.7 MB, free: 15.09 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 (7): * Single equations (assignments): 7 * 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.0001095/0.1333, allocations: 113.8 kB / 485.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/0.1333, allocations: 19.89 kB / 485.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004085/0.1338, allocations: 138.9 kB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1338, allocations: 0 / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1338, allocations: 0 / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1338, allocations: 7.922 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.1344, allocations: 418.5 kB / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1345, allocations: 0 / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.417e-05/0.1346, allocations: 27.91 kB / 486.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1346, allocations: 0 / 486.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.1346, allocations: 11.94 kB / 486.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1346, allocations: 0 / 486.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1346, allocations: 0 / 486.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.135, allocations: 219.4 kB / 486.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.1351, allocations: 89 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.1351, allocations: 3.938 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.1352, allocations: 19.92 kB / 486.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.1353, allocations: 0 / 486.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.1353, allocations: 4 kB / 486.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.1354, allocations: 119.2 kB / 486.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1354, allocations: 3.938 kB / 486.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000324/0.1357, allocations: 43.98 kB / 487 MB, free: 13.77 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 (7): * Single equations (assignments): 7 * 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.001646/0.1374, allocations: 1.148 MB / 488.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003442/0.1377, allocations: 95.86 kB / 488.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1378, allocations: 0 / 488.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.1379, allocations: 47.95 kB / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.1384, allocations: 22.98 kB / 488.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.1409, allocations: 1.667 MB / 489.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.1412, allocations: 0.7007 MB / 490.6 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.1413, allocations: 20.42 kB / 490.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.1414, allocations: 35.59 kB / 490.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1414, allocations: 7.938 kB / 490.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/0.1563, allocations: 3.399 MB / 494.1 MB, free: 6.766 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.1566, allocations: 245.3 kB / 494.3 MB, free: 6.508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/2.182, allocations: 0 / 494.3 MB, free: 6.508 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches