Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001452/0.001452, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001758/0.001758, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.535/1.535, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2306/0.2306, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 68.67 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1404, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003681/0.1442, allocations: 1.607 MB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008955/0.1451, allocations: 419.2 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.13e-05/0.1452, allocations: 0 / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.1456, allocations: 95.67 kB / 471.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.1458, allocations: 75.78 kB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.1461, allocations: 90.77 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.1464, allocations: 87.81 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.1465, allocations: 28.27 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.399e-05/0.1466, allocations: 43.89 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.1468, allocations: 59.75 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.1468, allocations: 4 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.1469, allocations: 43.98 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.268e-05/0.147, allocations: 31.86 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.1471, allocations: 39.72 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.1473, allocations: 119.6 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.1473, allocations: 0 / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1473, allocations: 0 / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.1473, allocations: 7.938 kB / 472.1 MB, free: 11.54 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006346/0.148, allocations: 421.9 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.148, allocations: 8.031 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.1481, allocations: 42.69 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.1481, allocations: 12.75 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.1484, allocations: 208 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1484, allocations: 12.38 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.1485, allocations: 4.375 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.1487, allocations: 69.61 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1487, allocations: 0 / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1487, allocations: 0 / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.1487, allocations: 4 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.1488, allocations: 39.91 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.1493, allocations: 336.6 kB / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.1494, allocations: 70.52 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.816e-05/0.1495, allocations: 24.78 kB / 473.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.1495, allocations: 4 kB / 473.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.1496, allocations: 30.56 kB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1496, allocations: 4 kB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001075/0.1507, allocations: 297 kB / 473.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.1507, allocations: 55.41 kB / 473.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.151, allocations: 235.9 kB / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.151, allocations: 25.7 kB / 473.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.185e-05/0.1511, allocations: 112.1 kB / 474.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.1511, allocations: 43.36 kB / 474.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.1512, allocations: 25.7 kB / 474.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1513, allocations: 326.8 kB / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.226e-05/0.1514, allocations: 35.98 kB / 474.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.223e-05/0.1515, allocations: 51.91 kB / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.1517, allocations: 86.95 kB / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1517, allocations: 0 / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002557/0.152, allocations: 129.5 kB / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.152, allocations: 6.5 kB / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.152, allocations: 4 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.1521, allocations: 3.938 kB / 474.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.1522, allocations: 31.92 kB / 474.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.1522, allocations: 4 kB / 474.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.1523, allocations: 11.98 kB / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1523, allocations: 4 kB / 474.8 MB, free: 8.586 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 (13): * Single equations (assignments): 13 * 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.0001184/0.1524, allocations: 125.8 kB / 474.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.1525, allocations: 19.8 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.1528, allocations: 179.7 kB / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1529, allocations: 3.938 kB / 475.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1529, allocations: 0 / 475.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.1529, allocations: 0 / 475.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006144/0.1535, allocations: 479 kB / 475.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1535, allocations: 4.031 kB / 475.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.834e-05/0.1536, allocations: 23.98 kB / 475.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1536, allocations: 0 / 475.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.1536, allocations: 8 kB / 475.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1537, allocations: 0 / 475.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1537, allocations: 3.938 kB / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.154, allocations: 243.7 kB / 475.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.1541, allocations: 92.92 kB / 476 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1541, allocations: 0 / 476 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.072e-05/0.1542, allocations: 4 kB / 476 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.1542, allocations: 11.98 kB / 476 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1542, allocations: 4 kB / 476 MB, free: 7.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.1544, allocations: 179.5 kB / 476.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1544, allocations: 0 / 476.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1547, allocations: 20 kB / 476.2 MB, free: 7.109 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001725/0.1564, allocations: 1.134 MB / 477.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002828/0.1567, allocations: 91.89 kB / 477.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1567, allocations: 0 / 477.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.1568, allocations: 59.84 kB / 477.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.1573, allocations: 27.14 kB / 477.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.1594, allocations: 1.808 MB / 479.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.1598, allocations: 0.7119 MB / 480 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.785e-05/0.1598, allocations: 20.53 kB / 480 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.525e-05/0.1599, allocations: 43.42 kB / 480.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1599, allocations: 0 / 480.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.1813, allocations: 3.344 MB / 483.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.552/7.734, allocations: 64 / 483.4 MB, free: 15.98 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches