Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",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.0009979/0.0009981, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 206.3 kB / 16.79 MB, free: 6.84 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.583/1.583, allocations: 205.1 MB / 222.6 MB, free: 4.996 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.3957/0.3957, allocations: 43.49 MB / 313.5 MB, free: 8.316 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.001624/0.001624, allocations: 68.47 kB / 382.1 MB, free: 8.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1378, allocations: 57.79 MB / 439.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004458/0.1423, allocations: 2.003 MB / 441.9 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.1439, allocations: 0.7525 MB / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003841/0.1444, allocations: 4 kB / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000828/0.1452, allocations: 247.4 kB / 442.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008291/0.1461, allocations: 179.5 kB / 443.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.1479, allocations: 0.5772 MB / 443.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005853/0.1485, allocations: 275.3 kB / 443.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/0.1488, allocations: 76.69 kB / 444 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.149, allocations: 127.5 kB / 444.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.1493, allocations: 199.3 kB / 444.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.523e-05/0.1494, allocations: 8 kB / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.1496, allocations: 59.98 kB / 444.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.1498, allocations: 95.66 kB / 444.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.1499, allocations: 115 kB / 444.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004124/0.1504, allocations: 314.8 kB / 444.9 MB, free: 9.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.1504, allocations: 0 / 444.9 MB, free: 9.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.1504, allocations: 4 kB / 444.9 MB, free: 9.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1504, allocations: 0 / 444.9 MB, free: 9.805 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009841/0.1514, allocations: 0.6612 MB / 445.6 MB, free: 9.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.1515, allocations: 8.031 kB / 445.6 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/0.1515, allocations: 42.75 kB / 445.6 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.854e-05/0.1516, allocations: 40.47 kB / 445.7 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/0.152, allocations: 326.1 kB / 446 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.1521, allocations: 16.31 kB / 446 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.1521, allocations: 8.375 kB / 446 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.1524, allocations: 133.5 kB / 446.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.1524, allocations: 0 / 446.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.1525, allocations: 8 kB / 446.2 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.1525, allocations: 4 kB / 446.2 MB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.1527, allocations: 91.94 kB / 446.2 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008184/0.1535, allocations: 0.5119 MB / 446.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.1537, allocations: 114.5 kB / 446.9 MB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.891e-05/0.1538, allocations: 36.84 kB / 446.9 MB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.1539, allocations: 3.984 kB / 446.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.1539, allocations: 38.5 kB / 446.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.1539, allocations: 0 / 446.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001051/0.155, allocations: 443.9 kB / 447.4 MB, free: 7.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.155, allocations: 59.28 kB / 447.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005619/0.1556, allocations: 0.5526 MB / 448 MB, free: 6.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1556, allocations: 25.7 kB / 448 MB, free: 6.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.1558, allocations: 208.3 kB / 448.2 MB, free: 6.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.452e-05/0.1558, allocations: 51.2 kB / 448.3 MB, free: 6.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.1559, allocations: 37.7 kB / 448.3 MB, free: 6.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1561, allocations: 354.8 kB / 448.7 MB, free: 5.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1562, allocations: 67.86 kB / 448.7 MB, free: 5.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.1563, allocations: 63.95 kB / 448.8 MB, free: 5.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.1566, allocations: 160.3 kB / 448.9 MB, free: 5.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1566, allocations: 0 / 448.9 MB, free: 5.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003634/0.157, allocations: 233 kB / 449.2 MB, free: 5.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.157, allocations: 8 kB / 449.2 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.157, allocations: 0 / 449.2 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.157, allocations: 0 / 449.2 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.1572, allocations: 35.97 kB / 449.2 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.1572, allocations: 3.984 kB / 449.2 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.184e-05/0.1573, allocations: 8 kB / 449.2 MB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.1573, allocations: 8 kB / 449.2 MB, free: 5.254 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 (17): * Single equations (assignments): 17 * 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.000168/0.1575, allocations: 185.6 kB / 449.4 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.1575, allocations: 43.53 kB / 449.5 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004674/0.158, allocations: 277.3 kB / 449.7 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.158, allocations: 4 kB / 449.7 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.158, allocations: 0 / 449.7 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.158, allocations: 0 / 449.7 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007876/0.1588, allocations: 0.6928 MB / 450.4 MB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1588, allocations: 0 / 450.4 MB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.159, allocations: 35.92 kB / 450.5 MB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.159, allocations: 0 / 450.5 MB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.159, allocations: 4 kB / 450.5 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.159, allocations: 7.938 kB / 450.5 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.159, allocations: 0 / 450.5 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.1594, allocations: 326.9 kB / 450.8 MB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.371e-05/0.1595, allocations: 120.6 kB / 450.9 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.1596, allocations: 0 / 450.9 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1597, allocations: 15.92 kB / 450.9 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.1597, allocations: 11.98 kB / 450.9 MB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.1598, allocations: 4 kB / 450.9 MB, free: 3.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004097/0.1602, allocations: 419.1 kB / 451.3 MB, free: 3.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.1602, allocations: 0 / 451.3 MB, free: 3.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003024/0.1605, allocations: 55.84 kB / 451.4 MB, free: 2.98 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 (17): * Single equations (assignments): 17 * 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.00219/0.1627, allocations: 1.464 MB / 452.9 MB, free: 1.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003321/0.163, allocations: 163.8 kB / 453 MB, free: 1.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1631, allocations: 0 / 453 MB, free: 1.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.1632, allocations: 87.89 kB / 453.1 MB, free: 1.277 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005404/0.1638, allocations: 73.3 kB / 453.2 MB, free: 1.207 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.218/0.3817, allocations: 3.322 MB / 456.5 MB, free: 48.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.382, allocations: 0.8163 MB / 457.3 MB, free: 47.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001728/0.3822, allocations: 61.11 kB / 457.4 MB, free: 47.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.3824, allocations: 122 kB / 457.5 MB, free: 47.41 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3824, allocations: 0 / 457.5 MB, free: 47.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.3975, allocations: 7.125 MB / 464.6 MB, free: 46.7 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001236/0.3976, allocations: 236.5 kB / 464.9 MB, free: 46.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.206, allocations: 0 / 464.9 MB, free: 46.45 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches