Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001353/0.001353, allocations: 104 kB / 17.64 MB, free: 5.539 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.001452/0.001452, allocations: 196 kB / 18.57 MB, free: 4.613 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.38/1.38, allocations: 222.9 MB / 242.3 MB, free: 15.26 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.2214/0.2214, allocations: 44.18 MB / 336.6 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 60.2 kB / 408.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1406, allocations: 60.83 MB / 469.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.00332/0.144, allocations: 1.615 MB / 471 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000774/0.1448, allocations: 423.2 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/0.1448, allocations: 0 / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.1451, allocations: 95.67 kB / 471.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.1454, allocations: 75.73 kB / 471.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.1458, allocations: 115 kB / 471.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.146, allocations: 91.8 kB / 471.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.1462, allocations: 32.2 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.254e-05/0.1462, allocations: 43.83 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1464, allocations: 55.83 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.1464, allocations: 7.984 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.1465, allocations: 47.98 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.318e-05/0.1466, allocations: 27.86 kB / 472 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.061e-05/0.1466, allocations: 31.75 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.1469, allocations: 123.6 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.1469, allocations: 0 / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1469, allocations: 0 / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1469, allocations: 3.938 kB / 472.1 MB, free: 11.52 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005295/0.1474, allocations: 438.8 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1475, allocations: 8.031 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.1475, allocations: 42.73 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.1476, allocations: 12.75 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.1478, allocations: 204.1 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1478, allocations: 4.375 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.1479, allocations: 8.375 kB / 472.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.148, allocations: 73.61 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.1481, allocations: 7.922 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1481, allocations: 0 / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1481, allocations: 7.984 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.1482, allocations: 39.97 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.1487, allocations: 348.5 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.1489, allocations: 74.48 kB / 473.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.149, allocations: 24.84 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.149, allocations: 0 / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.149, allocations: 34.56 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.149, allocations: 0 / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001111/0.1501, allocations: 329.1 kB / 473.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.1502, allocations: 55.34 kB / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.1504, allocations: 235.5 kB / 474 MB, free: 9.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1505, allocations: 33.64 kB / 474.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.1505, allocations: 116 kB / 474.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.1506, allocations: 43.3 kB / 474.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/0.1507, allocations: 25.72 kB / 474.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1508, allocations: 322.8 kB / 474.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.1509, allocations: 43.97 kB / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.303e-05/0.151, allocations: 54.22 kB / 474.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.1512, allocations: 108.8 kB / 474.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1512, allocations: 0 / 474.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003337/0.1516, allocations: 161.2 kB / 474.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1516, allocations: 4 kB / 474.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1516, allocations: 3.938 kB / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.1516, allocations: 0 / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1518, allocations: 31.98 kB / 475 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1518, allocations: 4 kB / 475 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.01e-05/0.1518, allocations: 0 / 475 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1519, allocations: 4 kB / 475 MB, free: 8.445 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.0001203/0.152, allocations: 137.8 kB / 475.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.017e-05/0.152, allocations: 15.8 kB / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.1524, allocations: 191.7 kB / 475.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1524, allocations: 3.938 kB / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1524, allocations: 0 / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1524, allocations: 0 / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006629/0.1531, allocations: 0.499 MB / 475.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1531, allocations: 4.031 kB / 475.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.926e-05/0.1532, allocations: 27.92 kB / 475.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1532, allocations: 0 / 475.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1532, allocations: 4 kB / 475.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1532, allocations: 0 / 475.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1533, allocations: 0 / 475.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.1536, allocations: 256.1 kB / 476.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.1537, allocations: 89 kB / 476.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.1537, allocations: 8 kB / 476.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.1538, allocations: 4 kB / 476.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.1538, allocations: 15.92 kB / 476.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.1539, allocations: 4 kB / 476.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001487/0.154, allocations: 176.2 kB / 476.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.154, allocations: 4 kB / 476.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.1543, allocations: 24 kB / 476.4 MB, free: 6.895 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.001799/0.1561, allocations: 1.146 MB / 477.6 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003072/0.1564, allocations: 111.9 kB / 477.7 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1564, allocations: 3.938 kB / 477.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.1566, allocations: 59.97 kB / 477.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.157, allocations: 20.05 kB / 477.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.1592, allocations: 1.886 MB / 479.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.1595, allocations: 0.7158 MB / 480.3 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.711e-05/0.1596, allocations: 28.53 kB / 480.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.959e-05/0.1597, allocations: 43.42 kB / 480.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1597, allocations: 0 / 480.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.1813, allocations: 3.432 MB / 483.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.543/7.724, allocations: 4.062 kB / 483.9 MB, free: 15.56 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_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_CombiTable1Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches