Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",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.001748/0.001748, 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.001956/0.001956, 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.34/1.34, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.206/0.206, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 68.03 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1061, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003036/0.1091, allocations: 1.583 MB / 470.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007432/0.1099, allocations: 403.3 kB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.11, allocations: 0 / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.1103, allocations: 75.77 kB / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.1105, allocations: 63.69 kB / 471.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.1108, allocations: 91.77 kB / 471.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.111, allocations: 67.88 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1111, allocations: 16.17 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.839e-05/0.1112, allocations: 39.78 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.1113, allocations: 51.88 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.1113, allocations: 4 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.879e-05/0.1114, allocations: 47.98 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.1115, allocations: 19.92 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.1115, allocations: 27.75 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.1117, allocations: 99.92 kB / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1117, allocations: 7.938 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1117, allocations: 0 / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.1118, allocations: 0 / 471.9 MB, free: 11.68 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.0005242/0.1123, allocations: 407 kB / 472.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1123, allocations: 12.03 kB / 472.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.23e-05/0.1124, allocations: 30.75 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.1124, allocations: 12.84 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.1126, allocations: 200.1 kB / 472.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1126, allocations: 4.375 kB / 472.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.1127, allocations: 16.03 kB / 472.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1128, allocations: 45.69 kB / 472.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1129, allocations: 0 / 472.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.1129, allocations: 0 / 472.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.1129, allocations: 4 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.709e-05/0.113, allocations: 31.91 kB / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.1134, allocations: 296.8 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.1135, allocations: 38.56 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.363e-05/0.1136, allocations: 24.88 kB / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.1136, allocations: 0 / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.1137, allocations: 34.56 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1137, allocations: 0 / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009007/0.1146, allocations: 221.2 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.1146, allocations: 59.34 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.1148, allocations: 210.2 kB / 473.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1149, allocations: 25.7 kB / 473.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.1149, allocations: 104 kB / 473.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.115, allocations: 23.66 kB / 473.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.115, allocations: 25.7 kB / 473.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1152, allocations: 318.8 kB / 474 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.8e-05/0.1152, allocations: 27.97 kB / 474.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-05/0.1153, allocations: 27.98 kB / 474.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.1155, allocations: 60.77 kB / 474.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1155, allocations: 0 / 474.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001967/0.1157, allocations: 105.5 kB / 474.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1157, allocations: 7.938 kB / 474.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1157, allocations: 0 / 474.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1157, allocations: 0 / 474.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.923e-05/0.1158, allocations: 23.98 kB / 474.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1158, allocations: 3.938 kB / 474.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.1159, allocations: 7.984 kB / 474.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1159, allocations: 432 / 474.3 MB, free: 9.09 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 (8): * Single equations (assignments): 8 * 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 9.581e-05/0.116, allocations: 129.8 kB / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.116, allocations: 11.84 kB / 474.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.1163, allocations: 114.4 kB / 474.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1163, allocations: 3.984 kB / 474.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1163, allocations: 7.938 kB / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.1163, allocations: 0 / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.1168, allocations: 403.6 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.1168, allocations: 3.938 kB / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.637e-05/0.1169, allocations: 24.02 kB / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1169, allocations: 7.938 kB / 475 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1169, allocations: 0 / 475 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1169, allocations: 4 kB / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1169, allocations: 0 / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.1172, allocations: 200.3 kB / 475.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.1173, allocations: 88.95 kB / 475.3 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.1173, allocations: 8 kB / 475.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.027e-05/0.1174, allocations: 7.984 kB / 475.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.1174, allocations: 4 kB / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.1174, allocations: 0 / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.1176, allocations: 155.2 kB / 475.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1176, allocations: 0 / 475.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.1179, allocations: 23.98 kB / 475.5 MB, free: 7.805 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 (8): * Single equations (assignments): 8 * 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.001727/0.1196, allocations: 1.098 MB / 476.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.1199, allocations: 71.89 kB / 476.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1199, allocations: 0 / 476.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.899e-05/0.12, allocations: 35.92 kB / 476.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.1204, allocations: 23.92 kB / 476.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.1222, allocations: 1.621 MB / 478.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.1225, allocations: 0.7002 MB / 479 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.54e-05/0.1226, allocations: 12.97 kB / 479 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.145e-05/0.1226, allocations: 31.42 kB / 479.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1226, allocations: 0 / 479.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.1418, allocations: 2.946 MB / 482 MB, free: 1.371 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/7.885, allocations: 15.48 kB / 482 MB, free: 1.359 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches