Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",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.001284/0.001284, allocations: 104 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.001327/0.001327, allocations: 192.1 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.378/1.378, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2062/0.2062, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09958/0.1008, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003802/0.1047, allocations: 1.576 MB / 470.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.1063, allocations: 1.035 MB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.1064, allocations: 0 / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.1066, allocations: 23.84 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.1069, allocations: 43.78 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.1073, allocations: 114.7 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.1074, allocations: 63.91 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1076, allocations: 24.17 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.097e-05/0.1076, allocations: 23.86 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.1078, allocations: 35.84 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.1078, allocations: 4 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.108, allocations: 55.91 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.108, allocations: 15.98 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.1081, allocations: 27.75 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.1084, allocations: 104 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1084, allocations: 4 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.137e-06/0.1084, allocations: 0 / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1084, allocations: 3.938 kB / 472.5 MB, free: 11.1 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000558/0.109, allocations: 383.3 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.109, allocations: 8.031 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.109, allocations: 38.73 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.1091, allocations: 8.844 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.1093, allocations: 200.1 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.1093, allocations: 4.375 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.1093, allocations: 8.125 kB / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.1095, allocations: 75.39 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1095, allocations: 0 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1096, allocations: 4 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1096, allocations: 0 / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1097, allocations: 39.91 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.1101, allocations: 308.8 kB / 473.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.1102, allocations: 58.58 kB / 473.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.887e-05/0.1103, allocations: 24.97 kB / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1103, allocations: 0 / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.1104, allocations: 34.56 kB / 473.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.1104, allocations: 4 kB / 473.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006764/0.111, allocations: 185.2 kB / 473.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.1111, allocations: 85.05 kB / 473.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.1113, allocations: 140.6 kB / 474.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1113, allocations: 33.64 kB / 474.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.1113, allocations: 99.97 kB / 474.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.1114, allocations: 27.7 kB / 474.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.1114, allocations: 17.72 kB / 474.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1116, allocations: 322.8 kB / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.331e-05/0.1116, allocations: 27.98 kB / 474.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.245e-05/0.1117, allocations: 45.69 kB / 474.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.1119, allocations: 72.8 kB / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1119, allocations: 0 / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002286/0.1122, allocations: 109.5 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1122, allocations: 7.984 kB / 474.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1122, allocations: 4.375 kB / 474.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1122, allocations: 0 / 474.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1123, allocations: 12 kB / 474.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1123, allocations: 11.92 kB / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.1124, allocations: 8 kB / 474.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1124, allocations: 4 kB / 474.9 MB, free: 8.488 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 0.0001065/0.1125, allocations: 121.7 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.1126, allocations: 11.89 kB / 475 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.1129, allocations: 126.3 kB / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1129, allocations: 4 kB / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1129, allocations: 3.938 kB / 475.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1129, allocations: 7.984 kB / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/0.1134, allocations: 402.4 kB / 475.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1134, allocations: 0 / 475.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.306e-05/0.1135, allocations: 19.92 kB / 475.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1135, allocations: 4 kB / 475.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1135, allocations: 0 / 475.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1135, allocations: 0 / 475.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.1135, allocations: 7.984 kB / 475.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.1138, allocations: 203.4 kB / 475.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.1139, allocations: 84.95 kB / 475.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.1139, allocations: 4 kB / 475.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.114, allocations: 7.984 kB / 475.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.114, allocations: 4 kB / 475.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.114, allocations: 11.94 kB / 475.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.253e-05/0.1141, allocations: 107.2 kB / 476 MB, free: 7.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1141, allocations: 0 / 476 MB, free: 7.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1144, allocations: 28 kB / 476 MB, free: 7.246 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 (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.001514/0.1159, allocations: 1.076 MB / 477.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002431/0.1162, allocations: 71.94 kB / 477.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1162, allocations: 0 / 477.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.339e-05/0.1163, allocations: 48.06 kB / 477.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.1167, allocations: 12.16 kB / 477.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1182, allocations: 1.501 MB / 478.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.1185, allocations: 0.6963 MB / 479.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.626e-05/0.1186, allocations: 20.8 kB / 479.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.912e-05/0.1187, allocations: 31.42 kB / 479.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1187, allocations: 0 / 479.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.1465, allocations: 2.905 MB / 482.4 MB, free: 1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/7.789, allocations: 7.922 kB / 482.4 MB, free: 0.9922 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_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_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches