Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 103.4 kB / 15.98 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 194.5 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4081/0.4081, allocations: 43.5 MB / 313.6 MB, free: 8.547 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 78.55 kB / 382.3 MB, free: 8.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.142, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003857/0.1459, allocations: 1.668 MB / 441.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000658/0.1466, allocations: 343.5 kB / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.618e-05/0.1467, allocations: 0 / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.147, allocations: 51.86 kB / 442.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.1472, allocations: 47.89 kB / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.1476, allocations: 151.7 kB / 442.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.1478, allocations: 75.77 kB / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1479, allocations: 28.19 kB / 442.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.639e-05/0.1479, allocations: 31.91 kB / 442.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.817e-05/0.148, allocations: 43.83 kB / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1481, allocations: 4 kB / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.78e-05/0.1481, allocations: 27.98 kB / 442.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.1482, allocations: 23.92 kB / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.1483, allocations: 35.73 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.1484, allocations: 99.64 kB / 442.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1485, allocations: 0 / 442.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1485, allocations: 0 / 442.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1485, allocations: 4 kB / 442.7 MB, free: 12 MB / 382.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.0005473/0.149, allocations: 414.9 kB / 443.1 MB, free: 11.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1491, allocations: 11.89 kB / 443.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.1491, allocations: 38.73 kB / 443.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.1492, allocations: 8.844 kB / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.1494, allocations: 204 kB / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1494, allocations: 384 / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.1494, allocations: 8.375 kB / 443.4 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.1496, allocations: 69.55 kB / 443.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1497, allocations: 3.938 kB / 443.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1497, allocations: 0 / 443.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1497, allocations: 0 / 443.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.1498, allocations: 35.97 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.1503, allocations: 316.7 kB / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.1505, allocations: 50.5 kB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.459e-05/0.1506, allocations: 28.94 kB / 443.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.1506, allocations: 0 / 443.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.1506, allocations: 34.55 kB / 443.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1506, allocations: 4 kB / 443.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008332/0.1515, allocations: 229.3 kB / 444.2 MB, free: 10.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.1515, allocations: 55.39 kB / 444.2 MB, free: 10.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.1518, allocations: 190.2 kB / 444.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.1518, allocations: 33.69 kB / 444.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.1519, allocations: 104.1 kB / 444.5 MB, free: 9.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.1519, allocations: 19.7 kB / 444.5 MB, free: 9.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.152, allocations: 21.72 kB / 444.6 MB, free: 9.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1521, allocations: 322.8 kB / 444.9 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.1522, allocations: 35.97 kB / 444.9 MB, free: 9.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.1523, allocations: 39.97 kB / 445 MB, free: 9.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.1526, allocations: 96.72 kB / 445.1 MB, free: 9.445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1526, allocations: 0 / 445.1 MB, free: 9.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002734/0.1529, allocations: 117.7 kB / 445.2 MB, free: 9.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.1529, allocations: 8 kB / 445.2 MB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1529, allocations: 4.078 kB / 445.2 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1529, allocations: 0 / 445.2 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.1531, allocations: 19.98 kB / 445.2 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.1531, allocations: 7.969 kB / 445.2 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.754e-05/0.1531, allocations: 7.938 kB / 445.2 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1532, allocations: 8 kB / 445.2 MB, free: 9.27 MB / 382.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.0001021/0.1533, allocations: 121.8 kB / 445.3 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.1533, allocations: 15.84 kB / 445.4 MB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.1537, allocations: 150.2 kB / 445.5 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1537, allocations: 0 / 445.5 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1537, allocations: 0 / 445.5 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1537, allocations: 3.938 kB / 445.5 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005688/0.1543, allocations: 422.4 kB / 445.9 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1543, allocations: 0 / 445.9 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.879e-05/0.1544, allocations: 19.98 kB / 445.9 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1544, allocations: 0 / 445.9 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1544, allocations: 3.938 kB / 445.9 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1544, allocations: 0 / 445.9 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1544, allocations: 3.938 kB / 445.9 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.1547, allocations: 227.3 kB / 446.2 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.1548, allocations: 85 kB / 446.3 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.1548, allocations: 15.88 kB / 446.3 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.274e-05/0.1549, allocations: 7.984 kB / 446.3 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.1549, allocations: 8 kB / 446.3 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.155, allocations: 0 / 446.3 MB, free: 8.105 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.1551, allocations: 164 kB / 446.4 MB, free: 7.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1551, allocations: 0 / 446.4 MB, free: 7.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.1553, allocations: 12 kB / 446.5 MB, free: 7.934 MB / 382.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.001395/0.1567, allocations: 1.063 MB / 447.5 MB, free: 6.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002816/0.157, allocations: 91.86 kB / 447.6 MB, free: 6.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.157, allocations: 0 / 447.6 MB, free: 6.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.1572, allocations: 47.97 kB / 447.7 MB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.1576, allocations: 23.78 kB / 447.7 MB, free: 6.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.1597, allocations: 1.733 MB / 449.4 MB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.1601, allocations: 0.7119 MB / 450.1 MB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.293e-05/0.1602, allocations: 16.66 kB / 450.1 MB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.956e-05/0.1602, allocations: 31.52 kB / 450.2 MB, free: 4.117 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1602, allocations: 7.938 kB / 450.2 MB, free: 4.109 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/0.1736, allocations: 2.813 MB / 453 MB, free: 1.281 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.1738, allocations: 241.2 kB / 453.2 MB, free: 1.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/1.949, allocations: 0 / 453.2 MB, free: 1.02 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches