Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001678/0.001678, allocations: 108.2 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001897/0.001897, allocations: 209.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.526/1.526, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2274/0.2274, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 72.31 kB / 417.1 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1235, allocations: 62.45 MB / 479.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003132/0.1266, allocations: 1.724 MB / 481.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.1283, allocations: 1.171 MB / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.517e-05/0.1284, allocations: 0 / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.1286, allocations: 27.84 kB / 482.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.1289, allocations: 63.83 kB / 482.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.1294, allocations: 166.9 kB / 482.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1295, allocations: 79.75 kB / 482.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.1296, allocations: 16 kB / 482.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.16e-05/0.1297, allocations: 39.78 kB / 482.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.1299, allocations: 43.84 kB / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1299, allocations: 4 kB / 482.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.1301, allocations: 95.88 kB / 483 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.1301, allocations: 27.91 kB / 483 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.1302, allocations: 27.8 kB / 483.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.1304, allocations: 155.9 kB / 483.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1304, allocations: 0 / 483.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1305, allocations: 4 kB / 483.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1305, allocations: 0 / 483.2 MB, free: 1.879 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.0005529/0.131, allocations: 411.1 kB / 483.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1311, allocations: 12.03 kB / 483.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.109e-05/0.1311, allocations: 30.75 kB / 483.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.1312, allocations: 12.78 kB / 483.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.1314, allocations: 210.4 kB / 483.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.1314, allocations: 384 / 483.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.1314, allocations: 4.375 kB / 483.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.1316, allocations: 83.33 kB / 484 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1316, allocations: 7.969 kB / 484 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1316, allocations: 0 / 484 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1316, allocations: 0 / 484 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.1318, allocations: 43.91 kB / 484 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.1322, allocations: 308.8 kB / 484.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.1323, allocations: 50.55 kB / 484.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.168e-05/0.1324, allocations: 24.94 kB / 484.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.1325, allocations: 0 / 484.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.1325, allocations: 42.56 kB / 484.4 MB, free: 500 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.1325, allocations: 7.875 kB / 484.4 MB, free: 492 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000794/0.1333, allocations: 221.2 kB / 484.7 MB, free: 264 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.1333, allocations: 85.05 kB / 484.7 MB, free: 160 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.1335, allocations: 153.9 kB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1335, allocations: 29.7 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.1336, allocations: 104.1 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.1336, allocations: 19.61 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.566e-05/0.1337, allocations: 21.72 kB / 485.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.1338, allocations: 322.8 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.1339, allocations: 39.97 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.134, allocations: 53.67 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.1343, allocations: 88.8 kB / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1343, allocations: 0 / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003088/0.1346, allocations: 125.4 kB / 485.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1346, allocations: 11.98 kB / 485.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1347, allocations: 0 / 485.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1347, allocations: 0 / 485.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1348, allocations: 19.98 kB / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1348, allocations: 320 / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.811e-05/0.1349, allocations: 15.92 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.1349, allocations: 4 kB / 485.7 MB, free: 15.12 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 8.251e-05/0.135, allocations: 121.8 kB / 485.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.1351, allocations: 11.91 kB / 485.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.1354, allocations: 150.2 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1354, allocations: 0 / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1354, allocations: 4 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1354, allocations: 7.938 kB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005476/0.136, allocations: 406.5 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.136, allocations: 3.938 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.679e-05/0.1361, allocations: 27.91 kB / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1361, allocations: 0 / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1361, allocations: 7.938 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1361, allocations: 4 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1361, allocations: 0 / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.1365, allocations: 219.4 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.1365, allocations: 96.94 kB / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.1366, allocations: 3.938 kB / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.1367, allocations: 12 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.1367, allocations: 3.984 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.1367, allocations: 4 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.224e-05/0.1368, allocations: 121.5 kB / 486.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1368, allocations: 0 / 486.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002988/0.1371, allocations: 43.98 kB / 487 MB, free: 13.79 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.001622/0.1388, allocations: 1.141 MB / 488.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.1391, allocations: 99.81 kB / 488.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1391, allocations: 0 / 488.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.1393, allocations: 51.95 kB / 488.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.1397, allocations: 22.61 kB / 488.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.1418, allocations: 1.667 MB / 489.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.1421, allocations: 0.7046 MB / 490.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.1422, allocations: 28.7 kB / 490.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.058e-05/0.1423, allocations: 35.41 kB / 490.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1423, allocations: 0 / 490.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.1588, allocations: 3.397 MB / 494.1 MB, free: 6.781 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/0.1591, allocations: 232.5 kB / 494.3 MB, free: 6.531 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.17, allocations: 8 kB / 494.3 MB, free: 6.523 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches