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.001131/0.001131, allocations: 100.5 kB / 16.4 MB, free: 6.496 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.00115/0.00115, allocations: 192.1 kB / 17.34 MB, free: 5.77 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.457/1.457, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2291/0.2291, allocations: 43.52 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.001379/0.001379, allocations: 67.91 kB / 441.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1176, allocations: 57.79 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.005275/0.1229, allocations: 2.616 MB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.1249, allocations: 0.7991 MB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003509/0.1252, allocations: 8 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.1256, allocations: 67.36 kB / 0.4908 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005214/0.1262, allocations: 99.17 kB / 0.4909 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.1267, allocations: 119.8 kB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006991/0.1274, allocations: 418.5 kB / 0.4914 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003135/0.1277, allocations: 139.2 kB / 0.4915 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.1281, allocations: 155.4 kB / 0.4917 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.1284, allocations: 171.2 kB / 0.4918 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.204e-05/0.1285, allocations: 32 kB / 0.4919 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.111e-05/0.1285, allocations: 40 kB / 0.4919 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.677e-05/0.1286, allocations: 75.75 kB / 0.492 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.1288, allocations: 179 kB / 0.4921 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000435/0.1293, allocations: 422.4 kB / 0.4925 GB, free: 7.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1293, allocations: 0 / 0.4925 GB, free: 7.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1293, allocations: 0 / 0.4925 GB, free: 7.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.1293, allocations: 0 / 0.4925 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.001276/0.1306, allocations: 0.6624 MB / 0.4932 GB, free: 6.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.1306, allocations: 11.89 kB / 0.4932 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.1308, allocations: 70.72 kB / 0.4933 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.529e-05/0.1309, allocations: 44.38 kB / 0.4933 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.1314, allocations: 268.7 kB / 0.4936 GB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.1314, allocations: 29.38 kB / 0.4936 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.1315, allocations: 36.38 kB / 0.4936 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007748/0.1322, allocations: 362 kB / 0.494 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1323, allocations: 0 / 0.494 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/0.1323, allocations: 12 kB / 0.494 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.1323, allocations: 8 kB / 0.494 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006239/0.133, allocations: 271.8 kB / 0.4943 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.1351, allocations: 1.338 MB / 0.4956 GB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004615/0.1356, allocations: 194.6 kB / 0.4957 GB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.1358, allocations: 83.5 kB / 0.4958 GB, free: 3.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.1359, allocations: 19.84 kB / 0.4958 GB, free: 3.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.1359, allocations: 34.56 kB / 0.4959 GB, free: 3.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.1359, allocations: 0 / 0.4959 GB, free: 3.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007772/0.1367, allocations: 253.1 kB / 0.4961 GB, free: 3.074 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/0.1368, allocations: 132.6 kB / 0.4962 GB, free: 2.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.1371, allocations: 328.5 kB / 0.4966 GB, free: 2.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.1372, allocations: 29.7 kB / 0.4966 GB, free: 2.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.1374, allocations: 231.6 kB / 0.4968 GB, free: 2.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.1374, allocations: 55.25 kB / 0.4969 GB, free: 2.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.1376, allocations: 57.89 kB / 0.4969 GB, free: 2.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1377, allocations: 342.8 kB / 0.4972 GB, free: 1.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.138, allocations: 76.5 kB / 0.4973 GB, free: 1.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.1382, allocations: 180.1 kB / 0.4975 GB, free: 1.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.1387, allocations: 246.9 kB / 0.4977 GB, free: 1.281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1388, allocations: 0 / 0.4977 GB, free: 1.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006348/0.1394, allocations: 297 kB / 0.498 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.1394, allocations: 4 kB / 0.498 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.1395, allocations: 4 kB / 0.498 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.1395, allocations: 4 kB / 0.498 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.1399, allocations: 100.1 kB / 0.4981 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.1399, allocations: 7.938 kB / 0.4981 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.1402, allocations: 51.5 kB / 0.4982 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.1402, allocations: 12 kB / 0.4982 GB, free: 0.8047 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.0001575/0.1404, allocations: 153.7 kB / 0.4983 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.1405, allocations: 27.91 kB / 0.4984 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.893e-05/0.1406, allocations: 34.41 kB / 0.4984 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1406, allocations: 7.984 kB / 0.4984 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.1406, allocations: 4 kB / 0.4984 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.1406, allocations: 3.984 kB / 0.4984 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008045/0.1414, allocations: 0.5875 MB / 0.499 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.1414, allocations: 4.719 kB / 0.499 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.1417, allocations: 55.95 kB / 0.499 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1417, allocations: 7.938 kB / 0.499 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.1418, allocations: 11.92 kB / 0.4991 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.1418, allocations: 4 kB / 0.4991 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1418, allocations: 7.938 kB / 0.4991 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005793/0.1424, allocations: 394.3 kB / 0.4994 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.1425, allocations: 112.7 kB / 0.4996 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/0.1425, allocations: 11.94 kB / 0.4996 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.1428, allocations: 11.98 kB / 0.4996 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.1428, allocations: 19.97 kB / 0.4996 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.1429, allocations: 4 kB / 0.4996 GB, free: 15.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000237/0.1431, allocations: 231 kB / 0.4998 GB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1431, allocations: 0 / 0.4998 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004196/0.1435, allocations: 71.84 kB / 0.4999 GB, free: 14.93 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.0008762/0.1444, allocations: 0.9224 MB / 0.5008 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005224/0.145, allocations: 199.8 kB / 0.501 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.145, allocations: 0 / 0.501 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.1452, allocations: 79.89 kB / 0.5011 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.1456, allocations: 24.08 kB / 0.5011 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004122/0.1498, allocations: 2.969 MB / 0.504 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.1502, allocations: 0.7714 MB / 0.5047 GB, free: 9.719 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.1503, allocations: 30.11 kB / 0.5048 GB, free: 9.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.1505, allocations: 95.41 kB / 0.5048 GB, free: 9.598 MB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1505, allocations: 4 kB / 0.5049 GB, free: 9.594 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.1764, allocations: 4.934 MB / 0.5097 GB, free: 4.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/8.407, allocations: 7.594 kB / 0.5097 GB, free: 4.641 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 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.mat","/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