Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",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.001379/0.001379, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001524/0.001524, allocations: 192 kB / 18.56 MB, free: 4.434 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.382/1.382, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2336/0.2336, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 63.11 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1294, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.004247/0.1337, allocations: 1.611 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.1349, allocations: 451.1 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.1351, allocations: 0 / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007536/0.1359, allocations: 459.1 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005017/0.1364, allocations: 243.5 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/0.137, allocations: 174.3 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.1374, allocations: 167.6 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.1375, allocations: 20.17 kB / 472.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.1377, allocations: 107.8 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.138, allocations: 203.6 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.1381, allocations: 4 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.1382, allocations: 35.92 kB / 472.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.1383, allocations: 87.67 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.1384, allocations: 106.9 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.1388, allocations: 255.2 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.1388, allocations: 4 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1388, allocations: 0 / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1388, allocations: 0 / 473.2 MB, free: 10.37 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.0009153/0.1398, allocations: 0.6336 MB / 473.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.1398, allocations: 8.031 kB / 473.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.989e-05/0.1399, allocations: 38.75 kB / 473.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.945e-05/0.14, allocations: 40.41 kB / 474 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.1404, allocations: 304.1 kB / 474.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1404, allocations: 4.375 kB / 474.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.1405, allocations: 4.125 kB / 474.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.1407, allocations: 61.66 kB / 474.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.1407, allocations: 0 / 474.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1407, allocations: 0 / 474.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1407, allocations: 0 / 474.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.1409, allocations: 35.95 kB / 474.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008203/0.1417, allocations: 404.5 kB / 474.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.142, allocations: 46.56 kB / 474.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.587e-05/0.1421, allocations: 16.94 kB / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.1421, allocations: 0 / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.1422, allocations: 34.56 kB / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1422, allocations: 4 kB / 474.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000735/0.1429, allocations: 232 kB / 475.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.143, allocations: 51.41 kB / 475.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008701/0.1438, allocations: 0.8652 MB / 476 MB, free: 7.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1439, allocations: 29.7 kB / 476 MB, free: 7.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.1441, allocations: 224 kB / 476.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.1441, allocations: 19.75 kB / 476.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/0.1442, allocations: 17.7 kB / 476.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.1444, allocations: 362.8 kB / 476.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.691e-05/0.1444, allocations: 23.92 kB / 476.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.976e-05/0.1445, allocations: 23.97 kB / 476.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.1447, allocations: 49.02 kB / 476.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1447, allocations: 8 kB / 476.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002509/0.145, allocations: 121.1 kB / 476.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.145, allocations: 4 kB / 476.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.145, allocations: 0 / 476.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.1451, allocations: 0 / 476.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.071e-05/0.1451, allocations: 15.98 kB / 476.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.1452, allocations: 7.875 kB / 476.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.403e-05/0.1452, allocations: 7.984 kB / 476.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.1453, allocations: 11.88 kB / 476.9 MB, free: 6.461 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 (5): * Single equations (assignments): 5 * 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.0002361/0.1455, allocations: 209.8 kB / 477.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/0.1456, allocations: 39.53 kB / 477.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.1459, allocations: 141.1 kB / 477.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.1459, allocations: 4 kB / 477.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.146, allocations: 3.938 kB / 477.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.146, allocations: 3.984 kB / 477.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006632/0.1466, allocations: 470.4 kB / 477.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.1467, allocations: 0 / 477.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.1467, allocations: 15.98 kB / 477.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1467, allocations: 3.938 kB / 477.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1468, allocations: 0 / 477.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1468, allocations: 0 / 477.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1468, allocations: 0 / 477.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.1471, allocations: 223.2 kB / 478 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.518e-05/0.1472, allocations: 112.5 kB / 478.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.1472, allocations: 12 kB / 478.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.016e-05/0.1473, allocations: 4 kB / 478.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.1474, allocations: 7.984 kB / 478.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1474, allocations: 0 / 478.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007131/0.1481, allocations: 0.655 MB / 478.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1481, allocations: 0 / 478.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.1484, allocations: 31.98 kB / 478.8 MB, free: 4.441 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 (5): * Single equations (assignments): 5 * 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.001716/0.1502, allocations: 1.05 MB / 479.9 MB, free: 3.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.1504, allocations: 63.95 kB / 479.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1504, allocations: 0 / 479.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.817e-05/0.1505, allocations: 27.98 kB / 479.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.151, allocations: 28.77 kB / 480 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004199/0.1552, allocations: 3.291 MB / 483.3 MB, free: 24 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/0.1558, allocations: 0.8182 MB / 484.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.578e-05/0.1559, allocations: 15.98 kB / 484.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.156, allocations: 111.4 kB / 484.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.156, allocations: 0 / 484.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.1822, allocations: 5.887 MB / 490.1 MB, free: 9.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/7.871, allocations: 14.72 kB / 490.1 MB, free: 9.238 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches