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.001558/0.001558, allocations: 102.7 kB / 16.41 MB, free: 6 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.001381/0.001382, allocations: 192.3 kB / 17.34 MB, free: 5.582 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.673/1.673, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2305/0.2305, allocations: 43.54 MB / 314.1 MB, free: 444 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.002058/0.002058, allocations: 65.47 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1173, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.004104/0.1214, allocations: 2.622 MB / 0.4899 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1228, allocations: 0.7991 MB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.123, allocations: 4 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.1233, allocations: 63.38 kB / 0.4908 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.1235, allocations: 99.19 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.1239, allocations: 119.8 kB / 0.491 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004774/0.1243, allocations: 418.4 kB / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.1246, allocations: 139.2 kB / 0.4915 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.1249, allocations: 147.5 kB / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003024/0.1252, allocations: 171.2 kB / 0.4918 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.549e-05/0.1252, allocations: 36 kB / 0.4919 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.839e-05/0.1253, allocations: 36 kB / 0.4919 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.68e-05/0.1254, allocations: 75.75 kB / 0.492 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.1256, allocations: 187 kB / 0.4921 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005549/0.1261, allocations: 426 kB / 0.4926 GB, free: 6.973 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1262, allocations: 0 / 0.4926 GB, free: 6.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1262, allocations: 0 / 0.4926 GB, free: 6.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.1262, allocations: 0 / 0.4926 GB, free: 6.973 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.001148/0.1273, allocations: 0.6664 MB / 0.4932 GB, free: 6.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.1274, allocations: 15.89 kB / 0.4932 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.253e-05/0.1275, allocations: 66.72 kB / 0.4933 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.194e-05/0.1276, allocations: 44.66 kB / 0.4933 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.128, allocations: 284.8 kB / 0.4936 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.128, allocations: 25.38 kB / 0.4936 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.1281, allocations: 36.38 kB / 0.4937 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007031/0.1288, allocations: 358 kB / 0.494 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1288, allocations: 4 kB / 0.494 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.1289, allocations: 12 kB / 0.494 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.1289, allocations: 15.98 kB / 0.494 GB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006526/0.1295, allocations: 263.4 kB / 0.4943 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002306/0.1319, allocations: 1.343 MB / 0.4956 GB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005624/0.1324, allocations: 198.5 kB / 0.4958 GB, free: 3.426 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.1327, allocations: 79.52 kB / 0.4959 GB, free: 3.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.1327, allocations: 7.938 kB / 0.4959 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.985e-05/0.1328, allocations: 46.5 kB / 0.4959 GB, free: 3.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.1328, allocations: 3.938 kB / 0.4959 GB, free: 3.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009167/0.1337, allocations: 241.3 kB / 0.4961 GB, free: 3.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.1339, allocations: 140.6 kB / 0.4963 GB, free: 2.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004736/0.1344, allocations: 328.5 kB / 0.4966 GB, free: 2.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.1344, allocations: 25.7 kB / 0.4966 GB, free: 2.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.1347, allocations: 248.1 kB / 0.4969 GB, free: 2.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.1347, allocations: 47.59 kB / 0.4969 GB, free: 2.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.1348, allocations: 57.94 kB / 0.497 GB, free: 2.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.1351, allocations: 342.8 kB / 0.4973 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.1353, allocations: 84.5 kB / 0.4974 GB, free: 1.711 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.1357, allocations: 168.2 kB / 0.4975 GB, free: 1.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/0.1363, allocations: 250.9 kB / 0.4978 GB, free: 1.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1363, allocations: 0 / 0.4978 GB, free: 1.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007152/0.137, allocations: 301.6 kB / 0.498 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.1371, allocations: 11.98 kB / 0.4981 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1371, allocations: 4 kB / 0.4981 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.1371, allocations: 4 kB / 0.4981 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.1375, allocations: 96.19 kB / 0.4982 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.1375, allocations: 7.984 kB / 0.4982 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.1378, allocations: 47.66 kB / 0.4982 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.1379, allocations: 16 kB / 0.4982 GB, free: 0.7383 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.000203/0.1381, allocations: 149.7 kB / 0.4984 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.1382, allocations: 32.09 kB / 0.4984 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.037e-05/0.1383, allocations: 34.39 kB / 0.4984 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.1383, allocations: 11.98 kB / 0.4984 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.1383, allocations: 0 / 0.4984 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1383, allocations: 0 / 0.4984 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009917/0.1393, allocations: 0.5993 MB / 0.499 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1393, allocations: 0 / 0.499 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.1396, allocations: 64.03 kB / 0.4991 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1396, allocations: 0 / 0.4991 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.1397, allocations: 11.94 kB / 0.4991 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.1397, allocations: 4 kB / 0.4991 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1397, allocations: 3.938 kB / 0.4991 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006438/0.1404, allocations: 394.8 kB / 0.4995 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.1405, allocations: 104.9 kB / 0.4996 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.1406, allocations: 15.94 kB / 0.4996 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.1408, allocations: 15.97 kB / 0.4996 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.653e-05/0.1409, allocations: 15.92 kB / 0.4996 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.1409, allocations: 8 kB / 0.4996 GB, free: 15.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002979/0.1412, allocations: 223.1 kB / 0.4999 GB, free: 14.94 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1412, allocations: 4 kB / 0.4999 GB, free: 14.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004213/0.1416, allocations: 71.83 kB / 0.4999 GB, free: 14.87 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.001181/0.1428, allocations: 0.9343 MB / 0.5008 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006106/0.1435, allocations: 192.3 kB / 0.501 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1435, allocations: 0 / 0.501 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.1437, allocations: 83.81 kB / 0.5011 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.1442, allocations: 25.75 kB / 0.5011 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004487/0.1487, allocations: 2.968 MB / 0.504 GB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.1492, allocations: 0.7753 MB / 0.5048 GB, free: 9.637 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.1493, allocations: 26.12 kB / 0.5048 GB, free: 9.613 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.1495, allocations: 103.4 kB / 0.5049 GB, free: 9.512 MB / 398.1 MB Notification: Performance of SimCode: time 1.222e-06/0.1495, allocations: 0 / 0.5049 GB, free: 9.512 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.178, allocations: 4.862 MB / 0.5097 GB, free: 4.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.484/8.662, allocations: 12 kB / 0.5097 GB, free: 4.629 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