Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00122/0.00122, allocations: 109.2 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.3 MB, free: 9.035 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.254/0.254, allocations: 46.12 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 76.56 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1384, allocations: 62.45 MB / 479.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003649/0.1421, allocations: 1.743 MB / 481.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1433, allocations: 0.5806 MB / 481.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.987e-05/0.1434, allocations: 0 / 481.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.1438, allocations: 47.86 kB / 481.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.1441, allocations: 79.73 kB / 481.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004922/0.1446, allocations: 163.2 kB / 482 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.1448, allocations: 79.77 kB / 482.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.145, allocations: 24.2 kB / 482.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.908e-05/0.1451, allocations: 31.86 kB / 482.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.1452, allocations: 43.83 kB / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.1452, allocations: 4 kB / 482.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.1453, allocations: 47.92 kB / 482.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1455, allocations: 19.92 kB / 482.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.1455, allocations: 35.73 kB / 482.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.1458, allocations: 115.8 kB / 482.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1458, allocations: 4 kB / 482.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1458, allocations: 0 / 482.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1458, allocations: 0 / 482.4 MB, free: 2.57 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.000626/0.1464, allocations: 419.1 kB / 482.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.1465, allocations: 8.875 kB / 482.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.377e-05/0.1465, allocations: 38.75 kB / 482.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.1466, allocations: 12.75 kB / 482.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.1468, allocations: 200 kB / 483.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1469, allocations: 8.375 kB / 483.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.1469, allocations: 4.375 kB / 483.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.1471, allocations: 69.59 kB / 483.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.1471, allocations: 0 / 483.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1472, allocations: 4 kB / 483.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1472, allocations: 4 kB / 483.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.1473, allocations: 39.95 kB / 483.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.1479, allocations: 332.6 kB / 483.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.1481, allocations: 58.55 kB / 483.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.19e-05/0.1482, allocations: 33 kB / 483.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.1483, allocations: 3.984 kB / 483.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.1483, allocations: 34.56 kB / 483.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.1483, allocations: 0 / 483.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001557/0.1499, allocations: 429.2 kB / 484.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.1499, allocations: 59.34 kB / 484.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.1501, allocations: 186.2 kB / 484.3 MB, free: 480 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1502, allocations: 29.7 kB / 484.3 MB, free: 444 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.1503, allocations: 108 kB / 484.4 MB, free: 332 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.1504, allocations: 35.45 kB / 484.5 MB, free: 296 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.1504, allocations: 25.72 kB / 484.5 MB, free: 264 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1506, allocations: 322.8 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.1507, allocations: 60.02 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.1509, allocations: 55.95 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.1512, allocations: 132.7 kB / 485 MB, free: 15.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1512, allocations: 0 / 485 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003421/0.1515, allocations: 157.5 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1516, allocations: 8 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1516, allocations: 3.984 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1516, allocations: 3.938 kB / 485.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1517, allocations: 27.98 kB / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1517, allocations: 3.938 kB / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.68e-05/0.1518, allocations: 7.984 kB / 485.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.1518, allocations: 4 kB / 485.3 MB, free: 15.47 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.0001079/0.1519, allocations: 129.8 kB / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.152, allocations: 15.81 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004186/0.1524, allocations: 186.2 kB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1524, allocations: 3.938 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1524, allocations: 0 / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1524, allocations: 3.984 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007171/0.1532, allocations: 0.5 MB / 486.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.1532, allocations: 0 / 486.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.1533, allocations: 31.91 kB / 486.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1533, allocations: 4 kB / 486.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1533, allocations: 4.062 kB / 486.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1533, allocations: 0 / 486.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1534, allocations: 4 kB / 486.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004144/0.1538, allocations: 280.8 kB / 486.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.347e-05/0.1538, allocations: 93 kB / 486.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.1539, allocations: 4.094 kB / 486.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.154, allocations: 15.94 kB / 486.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.154, allocations: 7.984 kB / 486.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-06/0.1541, allocations: 4 kB / 486.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.1542, allocations: 139.2 kB / 486.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1542, allocations: 0 / 486.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000272/0.1545, allocations: 28 kB / 486.7 MB, free: 13.91 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.001675/0.1562, allocations: 1.164 MB / 487.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003539/0.1565, allocations: 123.9 kB / 488 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.1565, allocations: 4 kB / 488 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.1567, allocations: 71.89 kB / 488 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.1571, allocations: 15.98 kB / 488.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.1596, allocations: 1.911 MB / 490 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.1599, allocations: 0.716 MB / 490.7 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.16, allocations: 32.52 kB / 490.7 MB, free: 9.895 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.497e-05/0.1601, allocations: 43.36 kB / 490.8 MB, free: 9.855 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1601, allocations: 0 / 490.8 MB, free: 9.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01442/0.1745, allocations: 3.183 MB / 493.9 MB, free: 6.762 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.1747, allocations: 231.7 kB / 494.2 MB, free: 6.508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.126, allocations: 0 / 494.2 MB, free: 6.508 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches