Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",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.001483/0.001483, allocations: 111 kB / 17.33 MB, free: 6.016 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.001468/0.001468, allocations: 193.3 kB / 18.25 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2451/0.2451, allocations: 44.18 MB / 336.3 MB, free: 2.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.91 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1418, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.0035/0.1454, allocations: 1.677 MB / 470.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007908/0.1462, allocations: 431.2 kB / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.474e-05/0.1463, allocations: 0 / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006133/0.1469, allocations: 447.2 kB / 471.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.1473, allocations: 251.5 kB / 471.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.1477, allocations: 111.8 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.1479, allocations: 163.6 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.148, allocations: 24.16 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1482, allocations: 107.8 kB / 472 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.1484, allocations: 219.5 kB / 472.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.1485, allocations: 4 kB / 472.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.147e-05/0.1486, allocations: 28 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.1487, allocations: 83.69 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.44e-05/0.1488, allocations: 107 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.149, allocations: 259.2 kB / 472.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1491, allocations: 0 / 472.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1491, allocations: 0 / 472.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.1491, allocations: 0 / 472.7 MB, free: 10.75 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.0007332/0.1498, allocations: 0.6375 MB / 473.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1499, allocations: 12.03 kB / 473.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.1499, allocations: 34.75 kB / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.15, allocations: 40.47 kB / 473.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.1503, allocations: 300.1 kB / 473.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1503, allocations: 8.297 kB / 473.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.1503, allocations: 12.06 kB / 473.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1505, allocations: 53.69 kB / 473.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1505, allocations: 0 / 473.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1505, allocations: 0 / 473.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1505, allocations: 3.984 kB / 473.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.1506, allocations: 39.91 kB / 473.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.1511, allocations: 392.6 kB / 474.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.1513, allocations: 42.56 kB / 474.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.127e-05/0.1514, allocations: 24.94 kB / 474.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1514, allocations: 7.938 kB / 474.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.1514, allocations: 34.55 kB / 474.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1514, allocations: 0 / 474.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008608/0.1523, allocations: 284 kB / 474.6 MB, free: 8.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.1524, allocations: 59.41 kB / 474.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00084/0.1532, allocations: 0.8613 MB / 475.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1532, allocations: 25.7 kB / 475.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.1534, allocations: 220 kB / 475.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.1534, allocations: 19.66 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.1535, allocations: 17.72 kB / 475.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1536, allocations: 362.8 kB / 476.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.1537, allocations: 35.97 kB / 476.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.423e-05/0.1538, allocations: 35.97 kB / 476.2 MB, free: 7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.154, allocations: 68.81 kB / 476.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.154, allocations: 0 / 476.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002786/0.1543, allocations: 153.1 kB / 476.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1544, allocations: 4 kB / 476.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1544, allocations: 0 / 476.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1544, allocations: 4 kB / 476.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1545, allocations: 15.98 kB / 476.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1545, allocations: 3.938 kB / 476.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.441e-05/0.1546, allocations: 15.89 kB / 476.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.1546, allocations: 0 / 476.5 MB, free: 6.73 MB / 350.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.000184/0.1548, allocations: 213.8 kB / 476.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/0.1549, allocations: 43.52 kB / 476.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.1552, allocations: 165.7 kB / 476.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1552, allocations: 3.938 kB / 476.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.1552, allocations: 3.938 kB / 476.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1552, allocations: 0 / 476.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006229/0.1559, allocations: 0.4945 MB / 477.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1559, allocations: 0 / 477.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.6e-05/0.156, allocations: 23.92 kB / 477.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.156, allocations: 3.938 kB / 477.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.156, allocations: 3.938 kB / 477.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.156, allocations: 0 / 477.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.156, allocations: 8 kB / 477.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.1564, allocations: 231 kB / 477.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-05/0.1565, allocations: 116.5 kB / 477.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.1565, allocations: 3.938 kB / 477.8 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.976e-05/0.1566, allocations: 15.98 kB / 477.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.1567, allocations: 8 kB / 477.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.1567, allocations: 0 / 477.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005999/0.1573, allocations: 0.6511 MB / 478.4 MB, free: 4.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.623e-06/0.1573, allocations: 0 / 478.4 MB, free: 4.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1575, allocations: 31.94 kB / 478.5 MB, free: 4.617 MB / 350.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.001446/0.159, allocations: 1.074 MB / 479.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.1593, allocations: 83.88 kB / 479.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1593, allocations: 0 / 479.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.1594, allocations: 47.97 kB / 479.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.1598, allocations: 21.95 kB / 479.7 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003805/0.1637, allocations: 3.386 MB / 483.1 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.1641, allocations: 0.822 MB / 483.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.641e-05/0.1641, allocations: 12.95 kB / 483.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.1643, allocations: 103.4 kB / 484 MB, free: 15.08 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1643, allocations: 0 / 484 MB, free: 15.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.1833, allocations: 5.826 MB / 489.8 MB, free: 9.367 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.1835, allocations: 236.6 kB / 490.1 MB, free: 9.105 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.103, allocations: 0 / 490.1 MB, free: 9.105 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches