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.00542/0.00542, allocations: 98.45 kB / 21.96 MB, free: 5.211 MB / 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.001669/0.001669, allocations: 214.4 kB / 25.25 MB, free: 3.145 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.26/1.26, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",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="cs",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.001627/0.001627, allocations: 58.58 kB / 348 MB, free: 9.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2111, allocations: 49.15 MB / 397.2 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02326/0.2344, allocations: 22.37 MB / 419.5 MB, free: 9.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003172/0.2376, allocations: 2.314 MB / 421.8 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.2377, allocations: 8.5 kB / 421.9 MB, free: 7.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005039/0.2382, allocations: 159.2 kB / 422 MB, free: 7.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005674/0.2388, allocations: 329.6 kB / 422.3 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.241, allocations: 1.005 MB / 423.3 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009145/0.2419, allocations: 0.9197 MB / 424.3 MB, free: 6.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.2421, allocations: 78.67 kB / 424.3 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004171/0.2462, allocations: 2.788 MB / 427.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004038/0.2466, allocations: 285.9 kB / 427.4 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.53e-05/0.2467, allocations: 29.62 kB / 427.4 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005403/0.2472, allocations: 255.2 kB / 427.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.2474, allocations: 102 kB / 427.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.2476, allocations: 163.8 kB / 427.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006631/0.2482, allocations: 0.582 MB / 428.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2482, allocations: 0 / 428.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2482, allocations: 0 / 428.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.2482, allocations: 0 / 428.5 MB, free: 3.855 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.0007885/0.249, allocations: 0.5674 MB / 429.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2491, allocations: 15.98 kB / 429.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.974e-05/0.2491, allocations: 4.844 kB / 429.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.645e-05/0.2491, allocations: 66.73 kB / 429.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/0.2495, allocations: 48.73 kB / 429.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.2499, allocations: 245.8 kB / 429.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.2499, allocations: 24.97 kB / 429.5 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.2499, allocations: 28.12 kB / 429.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006339/0.2506, allocations: 0.5496 MB / 430.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.2506, allocations: 0 / 430.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.2506, allocations: 16 kB / 430.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.2506, allocations: 8 kB / 430.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.2509, allocations: 193.5 kB / 430.3 MB, free: 1.938 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.001737/0.2527, allocations: 1.441 MB / 431.7 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.253, allocations: 179.9 kB / 431.9 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.2531, allocations: 76.77 kB / 432 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.263e-05/0.2532, allocations: 23.98 kB / 432 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.2532, allocations: 42.55 kB / 432 MB, free: 84 kB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.363e-06/0.2532, allocations: 0 / 432 MB, free: 84 kB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.002319/0.2555, allocations: 0.8723 MB / 432.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.2556, allocations: 55.41 kB / 433 MB, free: 15.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.2558, allocations: 261.8 kB / 433.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.2559, allocations: 33.7 kB / 433.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.256, allocations: 188.5 kB / 433.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.188e-05/0.2561, allocations: 107.1 kB / 433.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.993e-05/0.2562, allocations: 74 kB / 433.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.2563, allocations: 334.8 kB / 433.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.2565, allocations: 92.7 kB / 434 MB, free: 14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.2567, allocations: 166.8 kB / 434.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.257, allocations: 277.2 kB / 434.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2571, allocations: 0 / 434.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005885/0.2576, allocations: 385.7 kB / 434.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2577, allocations: 4 kB / 434.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.2577, allocations: 4 kB / 434.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003797/0.258, allocations: 93.09 kB / 434.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.2583, allocations: 71.91 kB / 435 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005416/0.2588, allocations: 0.6537 MB / 435.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.259, allocations: 8 kB / 435.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.259, allocations: 23.98 kB / 435.7 MB, free: 12.23 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.0001544/0.2592, allocations: 145.8 kB / 435.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.171e-05/0.2592, allocations: 39.75 kB / 435.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006211/0.2598, allocations: 368.9 kB / 436.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2599, allocations: 0 / 436.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2599, allocations: 12.06 kB / 436.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005222/0.2604, allocations: 0.5515 MB / 436.8 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009919/0.2614, allocations: 0.6675 MB / 437.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2614, allocations: 0 / 437.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.2615, allocations: 31.98 kB / 437.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004571/0.262, allocations: 112.7 kB / 437.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.262, allocations: 8 kB / 437.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005077/0.2625, allocations: 0.6342 MB / 438.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2625, allocations: 0 / 438.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007161/0.2632, allocations: 489.6 kB / 438.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.2633, allocations: 23.89 kB / 438.7 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.2633, allocations: 4 kB / 438.7 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.2635, allocations: 12.12 kB / 438.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.2636, allocations: 23.95 kB / 438.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.2636, allocations: 12 kB / 438.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001955/0.2638, allocations: 201.2 kB / 439 MB, free: 8.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2638, allocations: 0 / 439 MB, free: 8.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004121/0.2642, allocations: 115.8 kB / 439.1 MB, free: 8.574 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.001157/0.2654, allocations: 1.053 MB / 440.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004725/0.2658, allocations: 235.5 kB / 440.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2658, allocations: 0 / 440.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.2661, allocations: 119.8 kB / 440.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000865/0.267, allocations: 169.4 kB / 440.7 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003715/0.2707, allocations: 3.101 MB / 443.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.2708, allocations: 163.8 kB / 443.9 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002197/0.271, allocations: 63.23 kB / 444 MB, free: 3.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.2712, allocations: 99.39 kB / 444.1 MB, free: 3.387 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2712, allocations: 0 / 444.1 MB, free: 3.387 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/0.3042, allocations: 10.91 MB / 455 MB, free: 8.406 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.37, allocations: 12 kB / 455 MB, free: 8.395 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 & /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 --stepSize=0.000201919 --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) [Timeout 52.5] 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","/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: 14.733624712913297]