Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.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.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001201/0.001201, allocations: 116.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.00155/0.00155, 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.442/1.442, 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.2095/0.2095, allocations: 46.12 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 78.69 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.128, allocations: 62.44 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.003845/0.1319, allocations: 1.991 MB / 481.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1336, allocations: 0.9702 MB / 482.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.1338, allocations: 7.938 kB / 482.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004459/0.1342, allocations: 239.4 kB / 482.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004932/0.1348, allocations: 235.4 kB / 483 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.1358, allocations: 453.5 kB / 483.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.1362, allocations: 299.2 kB / 483.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.1364, allocations: 48.7 kB / 483.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.1366, allocations: 135.4 kB / 483.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.1368, allocations: 191.3 kB / 484.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.1369, allocations: 8 kB / 484.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.137, allocations: 55.97 kB / 484.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1371, allocations: 87.62 kB / 484.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.1372, allocations: 119 kB / 484.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.1376, allocations: 287.2 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1376, allocations: 4 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1376, allocations: 0 / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.1376, allocations: 0 / 484.7 MB, free: 428 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008202/0.1385, allocations: 0.6532 MB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1385, allocations: 8.031 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.62e-05/0.1386, allocations: 46.73 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.628e-05/0.1386, allocations: 36.47 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.139, allocations: 338 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.139, allocations: 8.375 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.1391, allocations: 8.375 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.1393, allocations: 79.86 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1393, allocations: 0 / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1393, allocations: 0 / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.1393, allocations: 4 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.1395, allocations: 47.97 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006235/0.1401, allocations: 460.4 kB / 486.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.1402, allocations: 62.48 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.917e-05/0.1403, allocations: 28.97 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.1403, allocations: 0 / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1404, allocations: 34.56 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1404, allocations: 0 / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003814/0.1408, allocations: 133.2 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1408, allocations: 55.34 kB / 486.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006346/0.1415, allocations: 0.5916 MB / 487.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1415, allocations: 25.7 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.1416, allocations: 212 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.1417, allocations: 23.69 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.1417, allocations: 21.72 kB / 487.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1419, allocations: 358.7 kB / 487.9 MB, free: 13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.234e-05/0.142, allocations: 15.98 kB / 487.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.268e-05/0.142, allocations: 19.98 kB / 487.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1421, allocations: 48.84 kB / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1422, allocations: 0 / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002175/0.1424, allocations: 109.6 kB / 488.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1424, allocations: 6.969 kB / 488.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1424, allocations: 64 / 488.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1424, allocations: 19.88 kB / 488.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.129e-05/0.1425, allocations: 15.92 kB / 488.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1426, allocations: 0 / 488.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.883e-05/0.1426, allocations: 11.94 kB / 488.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1426, allocations: 4 kB / 488.1 MB, free: 12.75 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 (6): * Single equations (assignments): 6 * 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.0001583/0.1428, allocations: 169.8 kB / 488.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.708e-05/0.1429, allocations: 39.44 kB / 488.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.1432, allocations: 133.2 kB / 488.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1432, allocations: 3.938 kB / 488.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1432, allocations: 0 / 488.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1432, allocations: 0 / 488.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.1436, allocations: 297.5 kB / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1436, allocations: 0 / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-05/0.1436, allocations: 12 kB / 488.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1437, allocations: 0 / 488.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1437, allocations: 3.984 kB / 488.8 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.1437, allocations: 7.938 kB / 488.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1437, allocations: 4 kB / 488.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.1439, allocations: 203.1 kB / 489 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.939e-05/0.144, allocations: 120.6 kB / 489.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.1441, allocations: 0 / 489.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-05/0.1442, allocations: 11.92 kB / 489.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.1442, allocations: 0 / 489.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.1442, allocations: 4 kB / 489.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004573/0.1447, allocations: 451 kB / 489.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1447, allocations: 0 / 489.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.145, allocations: 39.84 kB / 489.6 MB, free: 11.18 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 (6): * Single equations (assignments): 6 * 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.001934/0.1469, allocations: 1.221 MB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.1471, allocations: 55.91 kB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1471, allocations: 0 / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.23e-05/0.1472, allocations: 23.98 kB / 490.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.1477, allocations: 81.41 kB / 491 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/0.1512, allocations: 2.946 MB / 493.9 MB, free: 6.977 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.1516, allocations: 0.8025 MB / 494.7 MB, free: 6.148 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.1517, allocations: 37.52 kB / 494.7 MB, free: 6.113 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.1519, allocations: 111.4 kB / 494.9 MB, free: 6.004 MB / 366.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1519, allocations: 4 kB / 494.9 MB, free: 6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.1708, allocations: 6.54 MB / 0.4896 GB, free: 15.55 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/0.171, allocations: 240.8 kB / 0.4899 GB, free: 15.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.207, allocations: 3.938 kB / 0.4899 GB, free: 15.28 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches