Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3",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: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001266, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2318/0.2318, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 76.94 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1334, allocations: 62.44 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003431/0.1369, allocations: 1.675 MB / 481.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.138, allocations: 0.5883 MB / 482.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.923e-05/0.1381, allocations: 4 kB / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006164/0.1388, allocations: 459.1 kB / 482.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005575/0.1394, allocations: 295.3 kB / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005352/0.1399, allocations: 179 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.1403, allocations: 187.6 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.1405, allocations: 24.2 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.1407, allocations: 111.7 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.141, allocations: 223.6 kB / 483.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.141, allocations: 4 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.1411, allocations: 43.98 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.1413, allocations: 87.62 kB / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.1414, allocations: 114.9 kB / 484.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005079/0.1419, allocations: 279.1 kB / 484.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.142, allocations: 3.984 kB / 484.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.142, allocations: 0 / 484.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.142, allocations: 4 kB / 484.4 MB, free: 0.918 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.001012/0.143, allocations: 0.657 MB / 485 MB, free: 216 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1431, allocations: 8.031 kB / 485 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.1431, allocations: 34.73 kB / 485.1 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.624e-05/0.1432, allocations: 44.38 kB / 485.1 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.1435, allocations: 308 kB / 485.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1435, allocations: 8.312 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.1436, allocations: 4.375 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.1438, allocations: 69.59 kB / 485.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1438, allocations: 4 kB / 485.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1438, allocations: 4 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1438, allocations: 3.938 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.144, allocations: 43.95 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005772/0.1446, allocations: 412.7 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.1448, allocations: 62.55 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.351e-05/0.1449, allocations: 32.95 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.145, allocations: 7.969 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.145, allocations: 30.56 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.145, allocations: 0 / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001723/0.1467, allocations: 0.5076 MB / 486.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.1468, allocations: 51.41 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009362/0.1477, allocations: 0.866 MB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.1478, allocations: 33.7 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.148, allocations: 212.1 kB / 487.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/0.148, allocations: 43.44 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.238e-05/0.1481, allocations: 29.7 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1482, allocations: 358.8 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.1484, allocations: 55.95 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.1485, allocations: 51.95 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.1488, allocations: 136.7 kB / 488.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1488, allocations: 0 / 488.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003849/0.1492, allocations: 193 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1492, allocations: 4 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.1493, allocations: 7.984 kB / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1493, allocations: 3.938 kB / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.1494, allocations: 27.98 kB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1494, allocations: 0 / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.673e-05/0.1495, allocations: 19.92 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1495, allocations: 0 / 488.7 MB, free: 12.39 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 (11): * Single equations (assignments): 11 * 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.0001921/0.1497, allocations: 217.8 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/0.1498, allocations: 43.44 kB / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004588/0.1503, allocations: 241.7 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1503, allocations: 3.938 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/0.1503, allocations: 4 kB / 489.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1503, allocations: 0 / 489.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008569/0.1512, allocations: 0.5975 MB / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.1512, allocations: 4.094 kB / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.1513, allocations: 35.84 kB / 489.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1513, allocations: 0 / 489.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1513, allocations: 4.188 kB / 489.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1514, allocations: 4 kB / 489.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1514, allocations: 0 / 489.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.1518, allocations: 320.5 kB / 490.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/0.1519, allocations: 112.5 kB / 490.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.1519, allocations: 7.984 kB / 490.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.152, allocations: 8 kB / 490.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.1521, allocations: 15.98 kB / 490.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1521, allocations: 0 / 490.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006235/0.1527, allocations: 0.6589 MB / 490.9 MB, free: 10.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1527, allocations: 0 / 490.9 MB, free: 10.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.153, allocations: 32 kB / 490.9 MB, free: 9.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001584/0.1546, allocations: 1.183 MB / 492.1 MB, free: 8.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000368/0.155, allocations: 135.8 kB / 492.3 MB, free: 8.797 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.155, allocations: 0 / 492.3 MB, free: 8.797 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.1552, allocations: 71.89 kB / 492.3 MB, free: 8.727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.1556, allocations: 36.8 kB / 492.4 MB, free: 8.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.1596, allocations: 3.59 MB / 496 MB, free: 5.008 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.16, allocations: 0.8338 MB / 496.8 MB, free: 4.148 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.923e-05/0.1601, allocations: 36.52 kB / 496.8 MB, free: 4.113 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.1602, allocations: 127.4 kB / 496.9 MB, free: 3.988 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1603, allocations: 0 / 496.9 MB, free: 3.988 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.1853, allocations: 6.541 MB / 0.4917 GB, free: 13.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.247/7.432, allocations: 8.156 kB / 0.4917 GB, free: 13.49 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches