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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002392/0.002392, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 54.58 kB / 347.2 MB, free: 9.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2883, allocations: 49.16 MB / 396.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02774/0.316, allocations: 22.38 MB / 418.8 MB, free: 9.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004122/0.3202, allocations: 2.325 MB / 421.1 MB, free: 7.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002347/0.3204, allocations: 11.53 kB / 421.1 MB, free: 7.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006505/0.3211, allocations: 164.6 kB / 421.3 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000783/0.3218, allocations: 321 kB / 421.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003002/0.3248, allocations: 0.9984 MB / 422.6 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001364/0.3262, allocations: 0.9118 MB / 423.5 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.3264, allocations: 82.84 kB / 423.6 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005166/0.3316, allocations: 2.781 MB / 426.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006487/0.3322, allocations: 276.4 kB / 426.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.641e-05/0.3323, allocations: 30.5 kB / 426.7 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007201/0.3331, allocations: 246.5 kB / 426.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.3332, allocations: 94.22 kB / 427 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.3334, allocations: 167.2 kB / 427.1 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008039/0.3342, allocations: 0.5862 MB / 427.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3342, allocations: 0 / 427.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3342, allocations: 0 / 427.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.3342, allocations: 4 kB / 427.7 MB, free: 3.711 MB / 334.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.0009311/0.3351, allocations: 0.5596 MB / 428.3 MB, free: 3.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3352, allocations: 15.98 kB / 428.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.227e-05/0.3353, allocations: 62.72 kB / 428.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003761/0.3356, allocations: 52.73 kB / 428.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/0.3361, allocations: 249.7 kB / 428.7 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.3362, allocations: 21.03 kB / 428.7 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/0.3362, allocations: 24.38 kB / 428.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006456/0.3369, allocations: 0.5534 MB / 429.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.3369, allocations: 11.92 kB / 429.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.3369, allocations: 12 kB / 429.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3369, allocations: 8 kB / 429.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.3373, allocations: 189.5 kB / 429.5 MB, free: 1.805 MB / 334.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.001922/0.3392, allocations: 1.441 MB / 430.9 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.3395, allocations: 178.5 kB / 431.1 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.3396, allocations: 76.83 kB / 431.2 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.167e-05/0.3397, allocations: 19.98 kB / 431.2 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.3398, allocations: 38.5 kB / 431.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.923e-06/0.3398, allocations: 0 / 431.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002528/0.3423, allocations: 0.8646 MB / 432.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.3423, allocations: 59.41 kB / 432.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.3427, allocations: 273.7 kB / 432.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.3427, allocations: 33.7 kB / 432.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.3428, allocations: 188.5 kB / 432.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.772e-05/0.3429, allocations: 107.1 kB / 432.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.343, allocations: 70.03 kB / 432.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3432, allocations: 338.8 kB / 433.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.3433, allocations: 88.72 kB / 433.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.3435, allocations: 166.8 kB / 433.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.344, allocations: 281.2 kB / 433.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.344, allocations: 0 / 433.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006755/0.3446, allocations: 378 kB / 434 MB, free: 12.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3447, allocations: 8.062 kB / 434 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.3447, allocations: 4 kB / 434 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004253/0.3451, allocations: 96.72 kB / 434.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.3453, allocations: 67.91 kB / 434.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005895/0.3459, allocations: 0.6576 MB / 434.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.3461, allocations: 8 kB / 434.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.3461, allocations: 20 kB / 434.9 MB, free: 12.1 MB / 350.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.0001781/0.3463, allocations: 153.8 kB / 435 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.471e-05/0.3464, allocations: 39.75 kB / 435.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006577/0.3471, allocations: 368.9 kB / 435.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.3471, allocations: 4 kB / 435.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3471, allocations: 4.078 kB / 435.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000557/0.3476, allocations: 0.5553 MB / 436 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.3488, allocations: 0.6637 MB / 436.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3488, allocations: 8.062 kB / 436.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.3489, allocations: 35.91 kB / 436.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004875/0.3494, allocations: 100.8 kB / 436.8 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.3494, allocations: 8 kB / 436.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005382/0.35, allocations: 0.6382 MB / 437.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.35, allocations: 0 / 437.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007484/0.3507, allocations: 493.7 kB / 437.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.3508, allocations: 23.86 kB / 438 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/0.3508, allocations: 3.984 kB / 438 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.351, allocations: 8 kB / 438 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.3511, allocations: 23.91 kB / 438 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.3511, allocations: 11.98 kB / 438 MB, free: 8.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002145/0.3513, allocations: 205.1 kB / 438.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3513, allocations: 0 / 438.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004651/0.3518, allocations: 111.9 kB / 438.3 MB, free: 8.438 MB / 350.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.001274/0.353, allocations: 1.057 MB / 439.4 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005493/0.3536, allocations: 235.4 kB / 439.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3536, allocations: 0.7812 kB / 439.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.3539, allocations: 119.9 kB / 439.7 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000935/0.3548, allocations: 164.6 kB / 439.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004152/0.359, allocations: 3.101 MB / 443 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.3591, allocations: 155.9 kB / 443.1 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000278/0.3594, allocations: 71.11 kB / 443.2 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.3595, allocations: 95.41 kB / 443.3 MB, free: 3.25 MB / 350.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3595, allocations: 0 / 443.3 MB, free: 3.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04305/0.4026, allocations: 11.19 MB / 454.5 MB, free: 7.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.35, allocations: 8.062 kB / 454.5 MB, free: 7.973 MB / 366.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.csv","/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.02777350600809]