Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.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.CombiTable2D.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test26",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.001545/0.001545, allocations: 108.6 kB / 15.99 MB, free: 6.34 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.001683/0.001683, allocations: 193.1 kB / 16.9 MB, free: 6.18 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.756/1.756, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.3827/0.3827, allocations: 43.5 MB / 313.6 MB, free: 8.508 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.001363/0.001363, allocations: 63.91 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1446, allocations: 57.79 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test26): time 0.004043/0.1487, allocations: 1.668 MB / 441.8 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006828/0.1494, allocations: 315.6 kB / 442.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.305e-05/0.1495, allocations: 4 kB / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.1498, allocations: 47.86 kB / 442.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003509/0.1502, allocations: 55.81 kB / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.1507, allocations: 95.88 kB / 442.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.1509, allocations: 71.77 kB / 442.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1511, allocations: 12.47 kB / 442.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.831e-05/0.1511, allocations: 31.91 kB / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1513, allocations: 39.84 kB / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.1513, allocations: 3.938 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1514, allocations: 39.97 kB / 442.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1516, allocations: 15.92 kB / 442.5 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.1516, allocations: 39.73 kB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.1518, allocations: 91.7 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1518, allocations: 0 / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1518, allocations: 4 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1519, allocations: 0 / 442.6 MB, free: 12.09 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.0006247/0.1525, allocations: 403 kB / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.1526, allocations: 11.89 kB / 443 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.813e-05/0.1526, allocations: 34.75 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.1526, allocations: 12.75 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.1529, allocations: 207.9 kB / 443.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1529, allocations: 4.375 kB / 443.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.1529, allocations: 4.125 kB / 443.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.1531, allocations: 61.67 kB / 443.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1532, allocations: 0 / 443.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1532, allocations: 0 / 443.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1532, allocations: 3.984 kB / 443.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.1533, allocations: 39.95 kB / 443.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.1538, allocations: 304.7 kB / 443.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.1539, allocations: 42.55 kB / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.218e-05/0.154, allocations: 24.94 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.1541, allocations: 0 / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.1541, allocations: 34.56 kB / 443.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1541, allocations: 0 / 443.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007922/0.1549, allocations: 205.1 kB / 444 MB, free: 10.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.155, allocations: 55.41 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.1552, allocations: 186.2 kB / 444.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.1552, allocations: 25.7 kB / 444.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.719e-05/0.1553, allocations: 104.1 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.1553, allocations: 35.42 kB / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.1554, allocations: 21.72 kB / 444.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1555, allocations: 318.8 kB / 444.7 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.1556, allocations: 35.97 kB / 444.8 MB, free: 9.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.81e-05/0.1557, allocations: 32.05 kB / 444.8 MB, free: 9.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.1559, allocations: 72.8 kB / 444.9 MB, free: 9.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1559, allocations: 0 / 444.9 MB, free: 9.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002658/0.1562, allocations: 113.5 kB / 445 MB, free: 9.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.1563, allocations: 4 kB / 445 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1563, allocations: 3.938 kB / 445 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1563, allocations: 0 / 445 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.1564, allocations: 23.92 kB / 445 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.118e-06/0.1564, allocations: 3.938 kB / 445 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.337e-05/0.1565, allocations: 15.98 kB / 445 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.1565, allocations: 0 / 445 MB, free: 9.453 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.000104/0.1566, allocations: 125.8 kB / 445.1 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.1567, allocations: 7.906 kB / 445.2 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.157, allocations: 122.3 kB / 445.3 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.157, allocations: 0 / 445.3 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.157, allocations: 7.875 kB / 445.3 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.157, allocations: 0 / 445.3 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000541/0.1576, allocations: 394.5 kB / 445.7 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1576, allocations: 0 / 445.7 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.863e-05/0.1577, allocations: 19.98 kB / 445.7 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1577, allocations: 3.938 kB / 445.7 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1577, allocations: 0 / 445.7 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1577, allocations: 7.984 kB / 445.7 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.1577, allocations: 0 / 445.7 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.158, allocations: 223.7 kB / 445.9 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-05/0.1581, allocations: 85.02 kB / 446 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.1581, allocations: 7.938 kB / 446 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.55e-05/0.1582, allocations: 11.98 kB / 446 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.1583, allocations: 11.98 kB / 446 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1583, allocations: 0 / 446 MB, free: 8.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.1584, allocations: 144 kB / 446.2 MB, free: 8.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1584, allocations: 0 / 446.2 MB, free: 8.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.1587, allocations: 16 kB / 446.2 MB, free: 8.188 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.001462/0.1601, allocations: 1.053 MB / 447.2 MB, free: 7.141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.1604, allocations: 79.92 kB / 447.3 MB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1604, allocations: 0 / 447.3 MB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.1606, allocations: 47.91 kB / 447.4 MB, free: 7.016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.161, allocations: 19.88 kB / 447.4 MB, free: 7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.1629, allocations: 1.654 MB / 449 MB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.1633, allocations: 0.7041 MB / 449.7 MB, free: 4.531 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.309e-05/0.1633, allocations: 24.95 kB / 449.8 MB, free: 4.508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.1634, allocations: 27.42 kB / 449.8 MB, free: 4.48 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1634, allocations: 0 / 449.8 MB, free: 4.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.1765, allocations: 2.691 MB / 452.5 MB, free: 1.773 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003418/0.1769, allocations: 240.1 kB / 452.7 MB, free: 1.512 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2, allocations: 0 / 452.7 MB, free: 1.512 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches