Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31",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.001081/0.00108, allocations: 104.1 kB / 15.98 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.0009999/0.001, allocations: 196.4 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.696/1.696, allocations: 205.1 MB / 222.8 MB, free: 4.68 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.4087/0.4087, allocations: 43.49 MB / 313.6 MB, free: 8.238 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.001373/0.001372, allocations: 68.23 kB / 382.3 MB, free: 8.309 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1464, allocations: 57.79 MB / 440.1 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.004142/0.1505, allocations: 1.672 MB / 441.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.1523, allocations: 0.9376 MB / 442.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.669e-05/0.1524, allocations: 0 / 442.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.1527, allocations: 27.86 kB / 442.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.153, allocations: 35.91 kB / 442.8 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.1534, allocations: 151.7 kB / 442.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.1536, allocations: 63.78 kB / 443 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1538, allocations: 24.2 kB / 443 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.617e-05/0.1538, allocations: 31.91 kB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.154, allocations: 27.84 kB / 443.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.1541, allocations: 4 kB / 443.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.1542, allocations: 55.97 kB / 443.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.1543, allocations: 15.92 kB / 443.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.1543, allocations: 27.81 kB / 443.2 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.1546, allocations: 111.7 kB / 443.3 MB, free: 11.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1546, allocations: 0 / 443.3 MB, free: 11.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1546, allocations: 0 / 443.3 MB, free: 11.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.1546, allocations: 4 kB / 443.3 MB, free: 11.21 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.0006008/0.1552, allocations: 391.1 kB / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.1553, allocations: 11.89 kB / 443.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.258e-05/0.1553, allocations: 38.73 kB / 443.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.1554, allocations: 8.844 kB / 443.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.1557, allocations: 196.1 kB / 443.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.1557, allocations: 4.375 kB / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.1557, allocations: 8.375 kB / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.156, allocations: 79.25 kB / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.156, allocations: 0 / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.156, allocations: 4 kB / 444 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.156, allocations: 3.984 kB / 444 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.1562, allocations: 43.95 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005281/0.1567, allocations: 300.8 kB / 444.3 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.1569, allocations: 46.5 kB / 444.4 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.83e-05/0.157, allocations: 28.92 kB / 444.4 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.157, allocations: 8 kB / 444.4 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.157, allocations: 30.56 kB / 444.5 MB, free: 9.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.157, allocations: 0 / 444.5 MB, free: 9.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008714/0.1579, allocations: 225.2 kB / 444.7 MB, free: 9.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.158, allocations: 81.09 kB / 444.8 MB, free: 9.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.1582, allocations: 153.3 kB / 444.9 MB, free: 9.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1582, allocations: 25.7 kB / 444.9 MB, free: 9.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.1583, allocations: 100 kB / 445 MB, free: 9.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.1583, allocations: 19.66 kB / 445.1 MB, free: 9.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.1584, allocations: 17.72 kB / 445.1 MB, free: 9.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1586, allocations: 322.8 kB / 445.4 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.1587, allocations: 39.97 kB / 445.4 MB, free: 8.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.1588, allocations: 57.73 kB / 445.5 MB, free: 8.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.1591, allocations: 92.73 kB / 445.6 MB, free: 8.684 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1591, allocations: 32 / 445.6 MB, free: 8.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002998/0.1594, allocations: 121.5 kB / 445.7 MB, free: 8.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1594, allocations: 11.94 kB / 445.7 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1594, allocations: 0 / 445.7 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.1595, allocations: 0 / 445.7 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1596, allocations: 15.98 kB / 445.7 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.1596, allocations: 7.938 kB / 445.7 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.346e-05/0.1597, allocations: 15.98 kB / 445.7 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.1597, allocations: 4 kB / 445.7 MB, free: 8.504 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.0001228/0.1598, allocations: 117.8 kB / 445.9 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.1599, allocations: 7.906 kB / 445.9 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/0.1603, allocations: 138.3 kB / 446 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1603, allocations: 0 / 446 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1603, allocations: 7.938 kB / 446 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1603, allocations: 0 / 446 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.1609, allocations: 414.4 kB / 446.4 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1609, allocations: 0 / 446.4 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.838e-05/0.161, allocations: 19.98 kB / 446.4 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.161, allocations: 3.938 kB / 446.4 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.161, allocations: 8 kB / 446.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.161, allocations: 0 / 446.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.161, allocations: 4 kB / 446.4 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.1614, allocations: 219.7 kB / 446.7 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.1614, allocations: 85 kB / 446.7 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.1614, allocations: 7.938 kB / 446.8 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/0.1615, allocations: 11.98 kB / 446.8 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.1616, allocations: 8 kB / 446.8 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.1616, allocations: 0 / 446.8 MB, free: 7.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.799e-05/0.1617, allocations: 111.2 kB / 446.9 MB, free: 7.262 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1617, allocations: 0 / 446.9 MB, free: 7.262 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.162, allocations: 24 kB / 446.9 MB, free: 7.238 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.00161/0.1636, allocations: 1.111 MB / 448 MB, free: 6.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003362/0.164, allocations: 91.92 kB / 448.1 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.164, allocations: 0 / 448.1 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.1641, allocations: 47.91 kB / 448.2 MB, free: 6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.1645, allocations: 19.84 kB / 448.2 MB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.1665, allocations: 1.609 MB / 449.8 MB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.1668, allocations: 0.7079 MB / 450.5 MB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.776e-05/0.1669, allocations: 33.12 kB / 450.5 MB, free: 3.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.167, allocations: 27.42 kB / 450.5 MB, free: 3.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.167, allocations: 0 / 450.5 MB, free: 3.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.1825, allocations: 2.907 MB / 453.5 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.1827, allocations: 237.9 kB / 453.7 MB, free: 308 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/1.963, allocations: 0 / 453.7 MB, free: 308 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches