Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",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.001404/0.001404, allocations: 106 kB / 15.98 MB, free: 6.34 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.001549/0.001549, allocations: 193.6 kB / 16.91 MB, free: 6.184 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.81/1.81, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.3805/0.3805, allocations: 43.49 MB / 313.6 MB, free: 8.559 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.001534/0.001534, allocations: 67.91 kB / 382.3 MB, free: 8.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.135, allocations: 57.79 MB / 440.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.00407/0.1391, allocations: 2.007 MB / 442.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.1407, allocations: 0.7564 MB / 442.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.1409, allocations: 3.938 kB / 442.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005383/0.1415, allocations: 239.4 kB / 443.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004687/0.1419, allocations: 183.5 kB / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.1434, allocations: 0.5732 MB / 443.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005024/0.1439, allocations: 291.3 kB / 444.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.1441, allocations: 76.7 kB / 444.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.1443, allocations: 139.4 kB / 444.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.1446, allocations: 207.3 kB / 444.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.1447, allocations: 15.94 kB / 444.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.1448, allocations: 67.92 kB / 444.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.145, allocations: 95.66 kB / 444.7 MB, free: 10 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.1451, allocations: 123 kB / 444.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.1456, allocations: 314.8 kB / 445.2 MB, free: 9.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1456, allocations: 0 / 445.2 MB, free: 9.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.1456, allocations: 0 / 445.2 MB, free: 9.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.1456, allocations: 3.938 kB / 445.2 MB, free: 9.566 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.000852/0.1465, allocations: 0.6573 MB / 445.8 MB, free: 8.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1465, allocations: 15.89 kB / 445.8 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.46e-05/0.1466, allocations: 46.73 kB / 445.9 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.6e-05/0.1467, allocations: 36.47 kB / 445.9 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.1471, allocations: 326.1 kB / 446.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.1471, allocations: 8.375 kB / 446.3 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.1471, allocations: 16.31 kB / 446.3 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.1474, allocations: 129.4 kB / 446.4 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1475, allocations: 0 / 446.4 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.1475, allocations: 8 kB / 446.4 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1475, allocations: 4 kB / 446.4 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.1477, allocations: 91.92 kB / 446.5 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000731/0.1484, allocations: 0.512 MB / 447 MB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.1486, allocations: 110.5 kB / 447.1 MB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.577e-05/0.1487, allocations: 40.83 kB / 447.2 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.1488, allocations: 4 kB / 447.2 MB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.1488, allocations: 42.5 kB / 447.2 MB, free: 7.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.495e-06/0.1488, allocations: 3.984 kB / 447.2 MB, free: 7.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001046/0.1499, allocations: 443.9 kB / 447.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.1499, allocations: 51.41 kB / 447.7 MB, free: 6.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/0.1505, allocations: 0.5487 MB / 448.2 MB, free: 6.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1505, allocations: 29.7 kB / 448.3 MB, free: 6.254 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.1507, allocations: 208.3 kB / 448.5 MB, free: 6.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.1508, allocations: 55.2 kB / 448.5 MB, free: 5.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.1508, allocations: 33.7 kB / 448.6 MB, free: 5.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.151, allocations: 350.8 kB / 448.9 MB, free: 5.598 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.1511, allocations: 79.8 kB / 449 MB, free: 5.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.1512, allocations: 63.95 kB / 449 MB, free: 5.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.1515, allocations: 156.2 kB / 449.2 MB, free: 5.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1515, allocations: 0 / 449.2 MB, free: 5.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000384/0.1519, allocations: 233 kB / 449.4 MB, free: 5.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.152, allocations: 4 kB / 449.4 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.152, allocations: 4 kB / 449.4 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.152, allocations: 4 kB / 449.4 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.1521, allocations: 31.92 kB / 449.5 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.1522, allocations: 0 / 449.5 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.562e-05/0.1522, allocations: 19.98 kB / 449.5 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.1523, allocations: 4 kB / 449.5 MB, free: 5.004 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.0001702/0.1524, allocations: 181.7 kB / 449.7 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/0.1525, allocations: 35.53 kB / 449.7 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005014/0.153, allocations: 284.6 kB / 450 MB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1531, allocations: 4 kB / 450 MB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1531, allocations: 0 / 450 MB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1531, allocations: 3.984 kB / 450 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008684/0.1539, allocations: 0.6777 MB / 450.7 MB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.154, allocations: 0 / 450.7 MB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.1541, allocations: 31.98 kB / 450.7 MB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.1541, allocations: 3.984 kB / 450.7 MB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1541, allocations: 8 kB / 450.7 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.1541, allocations: 3.938 kB / 450.7 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1541, allocations: 3.938 kB / 450.7 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004507/0.1546, allocations: 326.9 kB / 451 MB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.966e-05/0.1547, allocations: 116.6 kB / 451.1 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.1547, allocations: 3.984 kB / 451.1 MB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.1549, allocations: 15.94 kB / 451.2 MB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.1549, allocations: 7.984 kB / 451.2 MB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.1549, allocations: 8 kB / 451.2 MB, free: 3.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004417/0.1554, allocations: 423.1 kB / 451.6 MB, free: 2.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1554, allocations: 0 / 451.6 MB, free: 2.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003376/0.1557, allocations: 55.89 kB / 451.6 MB, free: 2.738 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.002467/0.1582, allocations: 1.472 MB / 453.1 MB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003907/0.1586, allocations: 171.8 kB / 453.3 MB, free: 1.105 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1586, allocations: 0 / 453.3 MB, free: 1.105 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.1588, allocations: 91.89 kB / 453.4 MB, free: 1.016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005924/0.1594, allocations: 81.23 kB / 453.5 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.196/0.3554, allocations: 3.308 MB / 456.8 MB, free: 47.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.3557, allocations: 0.8223 MB / 457.6 MB, free: 47.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001749/0.3559, allocations: 57.41 kB / 457.6 MB, free: 47.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.3561, allocations: 124.5 kB / 457.8 MB, free: 47.01 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3561, allocations: 0 / 457.8 MB, free: 47.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.3721, allocations: 7.231 MB / 465 MB, free: 46.29 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001421/0.3723, allocations: 236.9 kB / 465.2 MB, free: 46.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.236, allocations: 0 / 465.2 MB, free: 46.04 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches