Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",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.001001/0.001002, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001009/0.001009, allocations: 192 kB / 18.55 MB, free: 4.566 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.333/1.333, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2206/0.2206, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 58.62 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1094, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002816/0.1123, allocations: 1.548 MB / 470.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007104/0.113, allocations: 411.2 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.614e-05/0.1131, allocations: 0 / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.1132, allocations: 27.84 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.1135, allocations: 35.86 kB / 471.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.1138, allocations: 111.2 kB / 471.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.1139, allocations: 63.77 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.557e-05/0.114, allocations: 15.98 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.527e-05/0.1141, allocations: 15.94 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.28e-05/0.1141, allocations: 23.86 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.1141, allocations: 4 kB / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.1142, allocations: 39.91 kB / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.537e-05/0.1143, allocations: 11.94 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.1143, allocations: 19.86 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.1144, allocations: 68.08 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1145, allocations: 0 / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1145, allocations: 0 / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1145, allocations: 0 / 471.7 MB, free: 11.88 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004127/0.1149, allocations: 375.3 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1149, allocations: 8.031 kB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.709e-05/0.115, allocations: 38.73 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.115, allocations: 8.844 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.1152, allocations: 188.1 kB / 472.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1152, allocations: 8.375 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.1152, allocations: 384 / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1154, allocations: 57.55 kB / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1154, allocations: 0 / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.1154, allocations: 0 / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.1154, allocations: 4 kB / 472.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.207e-05/0.1155, allocations: 23.98 kB / 472.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.1159, allocations: 276.8 kB / 472.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1161, allocations: 50.55 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.1161, allocations: 12.86 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.1162, allocations: 4 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.1162, allocations: 34.64 kB / 472.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1162, allocations: 0 / 472.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005545/0.1168, allocations: 149.2 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.1168, allocations: 55.41 kB / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1169, allocations: 138.1 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1169, allocations: 25.7 kB / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.117, allocations: 96.12 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.117, allocations: 19.75 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.1171, allocations: 21.7 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.1172, allocations: 314.8 kB / 473.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.271e-05/0.1173, allocations: 19.98 kB / 473.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.764e-05/0.1173, allocations: 31.91 kB / 473.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.1175, allocations: 57.02 kB / 473.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1175, allocations: 0 / 473.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001787/0.1177, allocations: 85.52 kB / 473.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1177, allocations: 4 kB / 473.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1177, allocations: 4 kB / 473.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1177, allocations: 0 / 473.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/0.1178, allocations: 15.98 kB / 473.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1178, allocations: 0 / 473.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.862e-05/0.1179, allocations: 11.92 kB / 473.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1179, allocations: 3.938 kB / 473.8 MB, free: 9.539 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 (5): * Single equations (assignments): 5 * 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 8.389e-05/0.118, allocations: 117.8 kB / 474 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.118, allocations: 3.906 kB / 474 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.1182, allocations: 105.9 kB / 474.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1182, allocations: 0 / 474.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1182, allocations: 3.938 kB / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1183, allocations: 0 / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004606/0.1187, allocations: 354.4 kB / 474.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1187, allocations: 288 / 474.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/0.1188, allocations: 15.98 kB / 474.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1188, allocations: 0 / 474.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.1188, allocations: 4 kB / 474.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1188, allocations: 4.125 kB / 474.4 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1188, allocations: 4 kB / 474.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.1191, allocations: 191.3 kB / 474.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.1191, allocations: 81.02 kB / 474.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.1192, allocations: 4 kB / 474.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.1192, allocations: 11.92 kB / 474.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.1193, allocations: 8 kB / 474.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1193, allocations: 0 / 474.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.034e-05/0.1194, allocations: 114.2 kB / 474.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1194, allocations: 0 / 474.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.1196, allocations: 16 kB / 474.9 MB, free: 8.418 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 (5): * Single equations (assignments): 5 * 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.001242/0.1209, allocations: 1.016 MB / 475.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.1211, allocations: 51.91 kB / 475.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1211, allocations: 0 / 475.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.871e-05/0.1212, allocations: 31.97 kB / 476 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.1215, allocations: 11.94 kB / 476 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.1231, allocations: 1.427 MB / 477.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.1234, allocations: 0.6924 MB / 478.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.688e-05/0.1234, allocations: 15.98 kB / 478.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.1235, allocations: 23.42 kB / 478.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1235, allocations: 0 / 478.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.1422, allocations: 2.396 MB / 480.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.641, allocations: 9.594 kB / 480.5 MB, free: 2.836 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches