Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12",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.001694/0.001694, allocations: 107.2 kB / 15.99 MB, free: 6.352 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.001883/0.001883, allocations: 199.1 kB / 16.91 MB, free: 6.195 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.667/1.667, 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.3704/0.3704, allocations: 43.5 MB / 313.6 MB, free: 8.5 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.001883/0.001884, allocations: 63.91 kB / 382.3 MB, free: 8.527 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1454, allocations: 57.79 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.003634/0.1491, allocations: 1.679 MB / 441.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1507, allocations: 0.9104 MB / 442.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.284e-05/0.1508, allocations: 7.938 kB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002305/0.151, allocations: 11.98 kB / 442.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.1513, allocations: 39.84 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.1517, allocations: 107.8 kB / 442.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.1518, allocations: 55.84 kB / 442.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.1519, allocations: 20.44 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.396e-05/0.152, allocations: 27.81 kB / 443 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.1522, allocations: 35.83 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.1522, allocations: 8 kB / 443 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.1524, allocations: 47.98 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.1524, allocations: 15.92 kB / 443.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.1525, allocations: 35.78 kB / 443.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.1527, allocations: 95.7 kB / 443.2 MB, free: 11.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1528, allocations: 0 / 443.2 MB, free: 11.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1528, allocations: 0 / 443.2 MB, free: 11.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1528, allocations: 0 / 443.2 MB, free: 11.53 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.0006074/0.1534, allocations: 395.1 kB / 443.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.1534, allocations: 15.89 kB / 443.6 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.967e-05/0.1535, allocations: 38.73 kB / 443.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.1535, allocations: 4.844 kB / 443.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.1538, allocations: 196.2 kB / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1538, allocations: 4.375 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.1538, allocations: 4.125 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.154, allocations: 79.33 kB / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.1541, allocations: 3.984 kB / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.1541, allocations: 7.938 kB / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1541, allocations: 0 / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.1542, allocations: 35.97 kB / 444 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.1548, allocations: 288.7 kB / 444.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.1549, allocations: 50.5 kB / 444.3 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.561e-05/0.155, allocations: 20.94 kB / 444.3 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.155, allocations: 0 / 444.3 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.155, allocations: 38.55 kB / 444.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1551, allocations: 0 / 444.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007699/0.1558, allocations: 201.3 kB / 444.5 MB, free: 9.988 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.1559, allocations: 77.11 kB / 444.6 MB, free: 9.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1561, allocations: 157.8 kB / 444.8 MB, free: 9.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1561, allocations: 25.7 kB / 444.8 MB, free: 9.699 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.1561, allocations: 92.14 kB / 444.9 MB, free: 9.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.1562, allocations: 19.64 kB / 444.9 MB, free: 9.586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.1562, allocations: 25.72 kB / 444.9 MB, free: 9.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1563, allocations: 318.8 kB / 445.2 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.1564, allocations: 31.98 kB / 445.3 MB, free: 9.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.1566, allocations: 45.67 kB / 445.3 MB, free: 9.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.1568, allocations: 80.78 kB / 445.4 MB, free: 9.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1568, allocations: 0 / 445.4 MB, free: 9.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002513/0.157, allocations: 109.5 kB / 445.5 MB, free: 8.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.157, allocations: 4 kB / 445.5 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1571, allocations: 3.938 kB / 445.5 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.1571, allocations: 4 kB / 445.5 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1572, allocations: 23.98 kB / 445.5 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.1572, allocations: 3.938 kB / 445.5 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.425e-05/0.1573, allocations: 11.98 kB / 445.6 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.1573, allocations: 320 / 445.6 MB, free: 8.906 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 9.306e-05/0.1574, allocations: 121.8 kB / 445.7 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.1574, allocations: 7.906 kB / 445.7 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003169/0.1578, allocations: 126.3 kB / 445.8 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1578, allocations: 0 / 445.8 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.1578, allocations: 3.938 kB / 445.8 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1578, allocations: 3.984 kB / 445.8 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/0.1583, allocations: 394.3 kB / 446.2 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1583, allocations: 4 kB / 446.2 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.814e-05/0.1584, allocations: 19.98 kB / 446.2 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.1584, allocations: 3.938 kB / 446.2 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.1585, allocations: 0 / 446.2 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1585, allocations: 4 kB / 446.2 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1585, allocations: 0 / 446.2 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.1588, allocations: 211.5 kB / 446.4 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.1588, allocations: 88.95 kB / 446.5 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.1589, allocations: 3.938 kB / 446.5 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.724e-05/0.159, allocations: 7.984 kB / 446.5 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.159, allocations: 11.98 kB / 446.5 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.159, allocations: 4 kB / 446.6 MB, free: 7.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.095e-05/0.1591, allocations: 103.3 kB / 446.7 MB, free: 7.703 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1591, allocations: 0 / 446.7 MB, free: 7.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.1594, allocations: 31.98 kB / 446.7 MB, free: 7.672 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.001639/0.1611, allocations: 1.076 MB / 447.8 MB, free: 6.602 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000322/0.1614, allocations: 83.86 kB / 447.8 MB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1614, allocations: 0 / 447.8 MB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.1615, allocations: 48.06 kB / 447.9 MB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.162, allocations: 31.81 kB / 447.9 MB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.164, allocations: 1.555 MB / 449.5 MB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.1643, allocations: 0.6924 MB / 450.2 MB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.078e-05/0.1644, allocations: 12.66 kB / 450.2 MB, free: 4.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.1644, allocations: 35.42 kB / 450.2 MB, free: 4.043 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1644, allocations: 0 / 450.2 MB, free: 4.043 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.1795, allocations: 2.828 MB / 453 MB, free: 1.184 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.1798, allocations: 228.8 kB / 453.3 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.461/2.641, allocations: 0 / 453.3 MB, free: 0.9336 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches