Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001643/0.001643, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00182/0.00182, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.246/0.246, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 74.03 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1347, allocations: 62.44 MB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003363/0.1381, allocations: 1.719 MB / 481.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000995/0.1391, allocations: 0.5767 MB / 481.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.423e-05/0.1392, allocations: 0 / 481.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005754/0.1397, allocations: 455.2 kB / 482.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.1402, allocations: 287.4 kB / 482.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.1406, allocations: 167.3 kB / 482.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.1408, allocations: 175.6 kB / 483 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.141, allocations: 19.98 kB / 483 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1411, allocations: 111.8 kB / 483.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.1414, allocations: 227.5 kB / 483.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1414, allocations: 4 kB / 483.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1415, allocations: 40 kB / 483.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.1416, allocations: 87.62 kB / 483.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.566e-05/0.1418, allocations: 107 kB / 483.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.1421, allocations: 267.2 kB / 483.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1421, allocations: 0 / 483.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1421, allocations: 4 kB / 483.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1421, allocations: 0 / 483.8 MB, free: 1.301 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.0009422/0.1431, allocations: 0.6453 MB / 484.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.1431, allocations: 12.03 kB / 484.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.199e-05/0.1432, allocations: 38.75 kB / 484.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.807e-05/0.1433, allocations: 44.38 kB / 484.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.1437, allocations: 304.1 kB / 484.8 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1437, allocations: 384 / 484.8 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.436e-05/0.1437, allocations: 4.375 kB / 484.8 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.144, allocations: 69.58 kB / 484.9 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.144, allocations: 3.906 kB / 484.9 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.144, allocations: 0 / 484.9 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.144, allocations: 4 kB / 484.9 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.1442, allocations: 43.95 kB / 485 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007408/0.145, allocations: 408.7 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.1451, allocations: 42.56 kB / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.723e-05/0.1452, allocations: 36.88 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.1453, allocations: 0 / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.1453, allocations: 34.55 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1453, allocations: 0 / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009939/0.1463, allocations: 315.9 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.1464, allocations: 51.41 kB / 485.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008545/0.1472, allocations: 0.8737 MB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1473, allocations: 29.7 kB / 486.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.1474, allocations: 220 kB / 486.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.1475, allocations: 23.66 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.1475, allocations: 25.7 kB / 487 MB, free: 13.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1477, allocations: 354.8 kB / 487.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.1478, allocations: 47.89 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1479, allocations: 35.97 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.1481, allocations: 92.8 kB / 487.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1482, allocations: 0 / 487.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002916/0.1485, allocations: 153.1 kB / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1485, allocations: 8 kB / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.1485, allocations: 0 / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1485, allocations: 0 / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1486, allocations: 23.92 kB / 487.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1486, allocations: 0 / 487.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.956e-05/0.1487, allocations: 15.92 kB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1487, allocations: 4 kB / 487.7 MB, free: 13.15 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.0001977/0.149, allocations: 213.8 kB / 487.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.19e-05/0.149, allocations: 43.44 kB / 488 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.1494, allocations: 189.5 kB / 488.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.1494, allocations: 0 / 488.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.1495, allocations: 4 kB / 488.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1495, allocations: 4.219 kB / 488.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006293/0.1501, allocations: 0.5143 MB / 488.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1501, allocations: 0 / 488.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.368e-05/0.1502, allocations: 19.98 kB / 488.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1502, allocations: 7.984 kB / 488.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1502, allocations: 3.938 kB / 488.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1502, allocations: 7.922 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1502, allocations: 4 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.1506, allocations: 254.9 kB / 489 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.421e-05/0.1507, allocations: 120.5 kB / 489.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.1507, allocations: 3.938 kB / 489.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1508, allocations: 11.98 kB / 489.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.1509, allocations: 3.984 kB / 489.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.1509, allocations: 4 kB / 489.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006057/0.1515, allocations: 0.655 MB / 489.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1515, allocations: 0 / 489.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1518, allocations: 31.98 kB / 489.8 MB, free: 10.96 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.001524/0.1533, allocations: 1.09 MB / 490.9 MB, free: 9.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003281/0.1536, allocations: 95.92 kB / 491 MB, free: 9.895 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1537, allocations: 0 / 491 MB, free: 9.895 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.1538, allocations: 47.91 kB / 491 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.1543, allocations: 29.3 kB / 491 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004341/0.1586, allocations: 3.477 MB / 494.5 MB, free: 6.254 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/0.1593, allocations: 0.8317 MB / 495.4 MB, free: 5.395 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.438e-05/0.1594, allocations: 28.95 kB / 495.4 MB, free: 5.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.1596, allocations: 119.4 kB / 495.5 MB, free: 5.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1596, allocations: 0 / 495.5 MB, free: 5.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.18, allocations: 5.977 MB / 0.4897 GB, free: 15.35 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003129/0.1803, allocations: 234.7 kB / 0.49 GB, free: 15.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.072, allocations: 0 / 0.49 GB, free: 15.09 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches