Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",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.001033/0.001037, allocations: 105 kB / 17.16 MB, free: 6.312 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.001172/0.001172, allocations: 194 kB / 18.07 MB, free: 5.41 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.334/1.334, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.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.001064/0.001064, allocations: 43.92 kB / 280.1 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08059/0.08166, allocations: 46.62 MB / 326.7 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02563/0.1073, allocations: 25.15 MB / 351.9 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003079/0.1104, allocations: 2.554 MB / 354.4 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003168/0.1108, allocations: 4 kB / 354.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005502/0.1114, allocations: 139.3 kB / 354.6 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006966/0.1121, allocations: 306.4 kB / 354.9 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.1141, allocations: 0.8848 MB / 355.7 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.1153, allocations: 1.359 MB / 357.1 MB, free: 6.277 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.1155, allocations: 68.69 kB / 357.2 MB, free: 6.215 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00452/0.12, allocations: 2.977 MB / 360.1 MB, free: 3.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004704/0.1205, allocations: 290.8 kB / 360.4 MB, free: 2.945 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.433e-05/0.1206, allocations: 16 kB / 360.4 MB, free: 2.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005695/0.1212, allocations: 215.7 kB / 360.7 MB, free: 2.719 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.1213, allocations: 91.64 kB / 360.7 MB, free: 2.629 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.1215, allocations: 179.2 kB / 360.9 MB, free: 2.453 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006843/0.1222, allocations: 0.5531 MB / 361.5 MB, free: 1.898 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1222, allocations: 3.938 kB / 361.5 MB, free: 1.895 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.1222, allocations: 0 / 361.5 MB, free: 1.895 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1222, allocations: 0 / 361.5 MB, free: 1.895 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008511/0.1231, allocations: 0.6277 MB / 362.1 MB, free: 1.219 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1231, allocations: 8.031 kB / 362.1 MB, free: 1.211 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.382e-05/0.1232, allocations: 70.66 kB / 362.2 MB, free: 1.133 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003532/0.1236, allocations: 52.55 kB / 362.2 MB, free: 1.082 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.1239, allocations: 291.6 kB / 362.5 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.124, allocations: 20.94 kB / 362.5 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.124, allocations: 28.36 kB / 362.6 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/0.1245, allocations: 342.1 kB / 362.9 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1245, allocations: 3.938 kB / 362.9 MB, free: 344 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.1245, allocations: 12 kB / 362.9 MB, free: 332 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1246, allocations: 12 kB / 362.9 MB, free: 320 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/0.1248, allocations: 189.5 kB / 363.1 MB, free: 128 kB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.1266, allocations: 2.111 MB / 365.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.1269, allocations: 190.4 kB / 365.4 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.127, allocations: 84.78 kB / 365.5 MB, free: 13.51 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/0.1272, allocations: 251.2 kB / 365.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.1272, allocations: 42.56 kB / 365.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.373e-06/0.1272, allocations: 0 / 365.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.00225/0.1295, allocations: 1.015 MB / 366.8 MB, free: 12.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.1295, allocations: 59.41 kB / 366.8 MB, free: 12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.1298, allocations: 274.5 kB / 367.1 MB, free: 11.72 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.1298, allocations: 29.7 kB / 367.1 MB, free: 11.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.761e-05/0.1299, allocations: 180.1 kB / 367.3 MB, free: 11.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.566e-05/0.13, allocations: 106.5 kB / 367.4 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.029e-05/0.1301, allocations: 66.08 kB / 367.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.1302, allocations: 342.8 kB / 367.8 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.1303, allocations: 84.72 kB / 367.9 MB, free: 10.9 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.1305, allocations: 170.6 kB / 368.1 MB, free: 10.7 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.1309, allocations: 281.1 kB / 368.3 MB, free: 10.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1309, allocations: 0 / 368.3 MB, free: 10.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005823/0.1315, allocations: 385.6 kB / 368.7 MB, free: 10.01 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1315, allocations: 8.312 kB / 368.7 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1315, allocations: 4 kB / 368.7 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003914/0.1319, allocations: 92.78 kB / 368.8 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.1322, allocations: 67.91 kB / 368.9 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005268/0.1327, allocations: 0.6576 MB / 369.6 MB, free: 9.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.1329, allocations: 16.09 kB / 369.6 MB, free: 9.137 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.133, allocations: 20 kB / 369.6 MB, free: 9.117 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001748/0.1332, allocations: 153.7 kB / 369.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-05/0.1332, allocations: 47.48 kB / 369.8 MB, free: 8.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005995/0.1338, allocations: 361.1 kB / 370.1 MB, free: 8.531 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1339, allocations: 8 kB / 370.1 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1339, allocations: 0 / 370.1 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004595/0.1343, allocations: 0.5553 MB / 370.7 MB, free: 7.879 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009536/0.1353, allocations: 0.74 MB / 371.4 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1353, allocations: 8.062 kB / 371.4 MB, free: 7.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.1354, allocations: 31.92 kB / 371.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00044/0.1359, allocations: 100.8 kB / 371.6 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.1359, allocations: 12 kB / 371.6 MB, free: 6.922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000444/0.1364, allocations: 0.6381 MB / 372.2 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1364, allocations: 0 / 372.2 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006471/0.137, allocations: 489.4 kB / 372.7 MB, free: 5.754 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.1371, allocations: 105 kB / 372.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.1372, allocations: 12 kB / 372.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.1374, allocations: 23.86 kB / 372.8 MB, free: 5.598 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.1375, allocations: 11.98 kB / 372.9 MB, free: 5.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.1375, allocations: 15.98 kB / 372.9 MB, free: 5.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001752/0.1377, allocations: 194 kB / 373.1 MB, free: 5.383 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1377, allocations: 0 / 373.1 MB, free: 5.383 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004145/0.1381, allocations: 116.1 kB / 373.2 MB, free: 5.27 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/0.1392, allocations: 1.062 MB / 374.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004401/0.1396, allocations: 231.7 kB / 374.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.1396, allocations: 4 kB / 374.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002498/0.1399, allocations: 131.8 kB / 374.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009608/0.1408, allocations: 165.3 kB / 374.8 MB, free: 3.652 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.1443, allocations: 3.194 MB / 377.9 MB, free: 320 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1265/0.2709, allocations: 0.7646 MB / 378.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000418/0.2713, allocations: 61.64 kB / 378.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.2715, allocations: 99.95 kB / 378.9 MB, free: 56.68 MB / 318.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2715, allocations: 4.5 kB / 378.9 MB, free: 56.68 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.2935, allocations: 9.731 MB / 388.6 MB, free: 53.85 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/0.2937, allocations: 254.3 kB / 388.9 MB, free: 53.6 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.137, allocations: 4 kB / 388.9 MB, free: 53.59 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches