Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",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.001092/0.001093, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001078/0.001078, allocations: 189.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2/0.2, allocations: 43.53 MB / 314.1 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 67.89 kB / 441.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1019, allocations: 57.79 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.004155/0.1061, allocations: 2.616 MB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1076, allocations: 0.7952 MB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003026/0.108, allocations: 4 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.1083, allocations: 71.36 kB / 0.4908 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004028/0.1087, allocations: 99.19 kB / 0.4909 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.1091, allocations: 115.8 kB / 0.491 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004764/0.1096, allocations: 418.5 kB / 0.4914 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.1098, allocations: 135.2 kB / 0.4915 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.1101, allocations: 155.4 kB / 0.4917 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.1103, allocations: 175.2 kB / 0.4918 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.631e-05/0.1104, allocations: 36 kB / 0.4919 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.734e-05/0.1105, allocations: 36 kB / 0.4919 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.73e-05/0.1106, allocations: 67.77 kB / 0.492 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.1107, allocations: 191 kB / 0.4921 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004316/0.1112, allocations: 426.1 kB / 0.4926 GB, free: 7.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1112, allocations: 0 / 0.4926 GB, free: 7.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1112, allocations: 0 / 0.4926 GB, free: 7.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.1112, allocations: 0 / 0.4926 GB, free: 7.008 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001083/0.1123, allocations: 0.662 MB / 0.4932 GB, free: 6.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1124, allocations: 15.89 kB / 0.4932 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.76e-05/0.1124, allocations: 70.72 kB / 0.4933 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.402e-05/0.1125, allocations: 44.66 kB / 0.4933 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.1129, allocations: 284.7 kB / 0.4936 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.1129, allocations: 21.38 kB / 0.4936 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.113, allocations: 40.38 kB / 0.4937 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006818/0.1137, allocations: 358 kB / 0.494 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1137, allocations: 0 / 0.494 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.1137, allocations: 15.94 kB / 0.494 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.1138, allocations: 12 kB / 0.494 GB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006167/0.1144, allocations: 259.8 kB / 0.4943 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.1165, allocations: 1.351 MB / 0.4956 GB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000502/0.117, allocations: 194.5 kB / 0.4958 GB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.1172, allocations: 87.5 kB / 0.4959 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.1173, allocations: 0 / 0.4959 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.1173, allocations: 46.55 kB / 0.4959 GB, free: 3.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.1173, allocations: 0 / 0.4959 GB, free: 3.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008237/0.1181, allocations: 241.7 kB / 0.4961 GB, free: 3.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/0.1182, allocations: 140.6 kB / 0.4963 GB, free: 2.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003672/0.1186, allocations: 328.4 kB / 0.4966 GB, free: 2.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.1186, allocations: 25.7 kB / 0.4966 GB, free: 2.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.1188, allocations: 244.1 kB / 0.4968 GB, free: 2.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.1189, allocations: 51.53 kB / 0.4969 GB, free: 2.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.707e-05/0.119, allocations: 57.94 kB / 0.4969 GB, free: 2.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1191, allocations: 346.7 kB / 0.4973 GB, free: 1.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.1194, allocations: 84.5 kB / 0.4974 GB, free: 1.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.1197, allocations: 164.2 kB / 0.4975 GB, free: 1.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004861/0.1201, allocations: 254.9 kB / 0.4978 GB, free: 1.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1202, allocations: 0 / 0.4978 GB, free: 1.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006426/0.1208, allocations: 309.1 kB / 0.498 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1208, allocations: 8 kB / 0.4981 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.1208, allocations: 4 kB / 0.4981 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1209, allocations: 4 kB / 0.4981 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.1213, allocations: 92.11 kB / 0.4982 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1213, allocations: 7.938 kB / 0.4982 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.1216, allocations: 51.66 kB / 0.4982 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.1216, allocations: 12 kB / 0.4982 GB, free: 0.7773 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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.0001651/0.1218, allocations: 153.6 kB / 0.4984 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.1219, allocations: 32.09 kB / 0.4984 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.862e-05/0.122, allocations: 30.41 kB / 0.4984 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.122, allocations: 11.98 kB / 0.4984 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.122, allocations: 0 / 0.4984 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.122, allocations: 0 / 0.4984 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008066/0.1229, allocations: 0.5993 MB / 0.499 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1229, allocations: 0 / 0.499 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.1232, allocations: 64.03 kB / 0.4991 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1232, allocations: 0 / 0.4991 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.1232, allocations: 11.94 kB / 0.4991 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1232, allocations: 7.938 kB / 0.4991 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1232, allocations: 0 / 0.4991 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005286/0.1237, allocations: 398.7 kB / 0.4995 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.655e-05/0.1238, allocations: 112.8 kB / 0.4996 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.1239, allocations: 16 kB / 0.4996 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.1241, allocations: 15.98 kB / 0.4996 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.1242, allocations: 7.984 kB / 0.4996 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.1242, allocations: 12 kB / 0.4996 GB, free: 15.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002126/0.1244, allocations: 231 kB / 0.4999 GB, free: 14.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1244, allocations: 0 / 0.4999 GB, free: 14.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000395/0.1248, allocations: 63.89 kB / 0.4999 GB, free: 14.9 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * 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.0007931/0.1256, allocations: 0.9379 MB / 0.5008 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005507/0.1262, allocations: 195.9 kB / 0.501 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1262, allocations: 0 / 0.501 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.1264, allocations: 75.89 kB / 0.5011 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.1269, allocations: 24.09 kB / 0.5011 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.1307, allocations: 2.968 MB / 0.504 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.131, allocations: 0.7714 MB / 0.5048 GB, free: 9.684 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.1311, allocations: 30.11 kB / 0.5048 GB, free: 9.656 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.1313, allocations: 103.4 kB / 0.5049 GB, free: 9.555 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1313, allocations: 0 / 0.5049 GB, free: 9.555 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.1532, allocations: 4.862 MB / 0.5096 GB, free: 4.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/7.856, allocations: 8.062 kB / 0.5097 GB, free: 4.672 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches