Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009045/0.0009045, allocations: 93.05 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 201.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002763, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1365, allocations: 63.57 MB / 483.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.00233/0.1388, allocations: 1.377 MB / 484.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.1411, allocations: 1.159 MB / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.48e-05/0.1412, allocations: 8 kB / 485.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.1415, allocations: 19.86 kB / 485.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.1418, allocations: 67.81 kB / 485.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005141/0.1424, allocations: 167.2 kB / 486 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.1426, allocations: 71.77 kB / 486 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1427, allocations: 19.98 kB / 486.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.547e-05/0.1428, allocations: 27.8 kB / 486.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.143, allocations: 31.84 kB / 486.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.143, allocations: 4 kB / 486.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.1432, allocations: 99.88 kB / 486.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.399e-05/0.1433, allocations: 15.92 kB / 486.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.937e-05/0.1434, allocations: 57.48 kB / 486.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.1437, allocations: 143.9 kB / 486.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1437, allocations: 4 kB / 486.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1437, allocations: 0 / 486.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1437, allocations: 0 / 486.4 MB, free: 0.7852 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.0006116/0.1444, allocations: 409.5 kB / 486.8 MB, free: 348 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.1444, allocations: 16.88 kB / 486.9 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.122e-05/0.1445, allocations: 38.67 kB / 486.9 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.1445, allocations: 12.75 kB / 486.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.1447, allocations: 196.2 kB / 487.1 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.1448, allocations: 384 / 487.1 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.1448, allocations: 4.375 kB / 487.1 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.145, allocations: 87.31 kB / 487.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.145, allocations: 7.938 kB / 487.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1451, allocations: 0 / 487.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1451, allocations: 0 / 487.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.1452, allocations: 47.91 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.1457, allocations: 320.7 kB / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.1458, allocations: 58.53 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.1459, allocations: 32.94 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.146, allocations: 0 / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.146, allocations: 34.5 kB / 487.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 2.414e-06/0.146, allocations: 0 / 487.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009139/0.1469, allocations: 273.1 kB / 487.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.147, allocations: 81.11 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.1472, allocations: 163.9 kB / 488.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1472, allocations: 25.7 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.1473, allocations: 96.05 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.1473, allocations: 19.7 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.1474, allocations: 17.72 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1475, allocations: 326.8 kB / 488.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.1477, allocations: 39.97 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.1478, allocations: 69.81 kB / 488.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.1481, allocations: 108.8 kB / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.1481, allocations: 0 / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003121/0.1484, allocations: 145.5 kB / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1484, allocations: 4 kB / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1484, allocations: 0 / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1485, allocations: 0 / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.1486, allocations: 27.98 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1486, allocations: 0 / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.904e-05/0.1487, allocations: 23.86 kB / 489.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.1487, allocations: 4 kB / 489.1 MB, free: 13.9 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 9.288e-05/0.1488, allocations: 117.8 kB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.1488, allocations: 7.906 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003774/0.1492, allocations: 162.2 kB / 489.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1492, allocations: 4 kB / 489.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.1493, allocations: 0 / 489.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1493, allocations: 3.938 kB / 489.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005769/0.1498, allocations: 430.5 kB / 489.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1499, allocations: 0 / 489.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.414e-05/0.15, allocations: 31.91 kB / 489.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.15, allocations: 4 kB / 489.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.15, allocations: 3.938 kB / 489.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.15, allocations: 0 / 489.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.15, allocations: 3.938 kB / 489.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/0.1504, allocations: 239.8 kB / 490.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/0.1504, allocations: 93 kB / 490.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.1505, allocations: 7.875 kB / 490.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1506, allocations: 19.98 kB / 490.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.1506, allocations: 8 kB / 490.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.1506, allocations: 0 / 490.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.1507, allocations: 119.2 kB / 490.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1508, allocations: 0 / 490.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003068/0.1511, allocations: 35.98 kB / 490.3 MB, free: 12.53 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.001714/0.1528, allocations: 1.158 MB / 491.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003286/0.1531, allocations: 111.9 kB / 491.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1531, allocations: 0 / 491.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.1533, allocations: 55.97 kB / 491.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.1536, allocations: 15.98 kB / 491.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.1559, allocations: 1.732 MB / 493.4 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.1562, allocations: 0.6971 MB / 494.1 MB, free: 8.797 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.1563, allocations: 24.41 kB / 494.1 MB, free: 8.773 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.881e-05/0.1564, allocations: 31.42 kB / 494.2 MB, free: 8.742 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1564, allocations: 0 / 494.2 MB, free: 8.742 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.1736, allocations: 3.127 MB / 497.3 MB, free: 5.73 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/0.1739, allocations: 235.6 kB / 497.5 MB, free: 5.477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.087, allocations: 3.938 kB / 497.5 MB, free: 5.473 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches