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.005263/0.005263, allocations: 110.7 kB / 21.97 MB, free: 5.25 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.001538/0.001538, allocations: 206.5 kB / 25.27 MB, free: 3.238 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.255/1.255, allocations: 207.6 MB / 236.1 MB, free: 9.98 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.001652/0.001652, allocations: 52.31 kB / 348 MB, free: 9.988 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2231, allocations: 49.16 MB / 397.2 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02436/0.2474, allocations: 24.9 MB / 422.1 MB, free: 7.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003286/0.2507, allocations: 2.524 MB / 424.6 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.2509, allocations: 7.25 kB / 424.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004872/0.2513, allocations: 157.9 kB / 424.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005631/0.2519, allocations: 329.5 kB / 425.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.2542, allocations: 0.9993 MB / 426.1 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009293/0.2551, allocations: 0.9128 MB / 427 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.2553, allocations: 82.92 kB / 427.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003959/0.2592, allocations: 2.787 MB / 429.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003731/0.2596, allocations: 298.2 kB / 430.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.592e-05/0.2597, allocations: 28.97 kB / 430.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005241/0.2602, allocations: 252.5 kB / 430.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2603, allocations: 105.3 kB / 430.5 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.2605, allocations: 187.1 kB / 430.7 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006609/0.2612, allocations: 0.5749 MB / 431.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2612, allocations: 0 / 431.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2612, allocations: 0 / 431.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.2612, allocations: 9.094 kB / 431.3 MB, free: 1.203 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.0008482/0.2621, allocations: 0.5617 MB / 431.9 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2621, allocations: 11.98 kB / 431.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.616e-05/0.2621, allocations: 8.844 kB / 431.9 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.091e-05/0.2622, allocations: 62.72 kB / 431.9 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003298/0.2625, allocations: 48.73 kB / 432 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.2629, allocations: 245.8 kB / 432.2 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.263, allocations: 21.03 kB / 432.2 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.263, allocations: 32.11 kB / 432.3 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.2635, allocations: 335.4 kB / 432.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2636, allocations: 0 / 432.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.2636, allocations: 12 kB / 432.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2636, allocations: 8 kB / 432.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.2639, allocations: 193.5 kB / 432.8 MB, free: 15.62 MB / 350.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.001885/0.2658, allocations: 1.637 MB / 434.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.2661, allocations: 170.5 kB / 434.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.2662, allocations: 80.78 kB / 434.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.687e-05/0.2663, allocations: 28.19 kB / 434.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.2663, allocations: 34.56 kB / 434.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.243e-06/0.2663, allocations: 0 / 434.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002315/0.2687, allocations: 0.8721 MB / 435.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.2687, allocations: 55.41 kB / 435.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.269, allocations: 265.8 kB / 435.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.269, allocations: 33.64 kB / 436 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.2692, allocations: 192.5 kB / 436.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.172e-05/0.2692, allocations: 107.1 kB / 436.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-05/0.2693, allocations: 70.06 kB / 436.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2695, allocations: 338.8 kB / 436.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.2696, allocations: 88.7 kB / 436.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.2699, allocations: 166.9 kB / 436.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003822/0.2702, allocations: 277.1 kB / 437.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2702, allocations: 0 / 437.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006114/0.2709, allocations: 385.9 kB / 437.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2709, allocations: 4 kB / 437.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2709, allocations: 4 kB / 437.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003904/0.2713, allocations: 92.78 kB / 437.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.2715, allocations: 67.91 kB / 437.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005562/0.2721, allocations: 0.6578 MB / 438.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.2722, allocations: 12 kB / 438.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.2722, allocations: 23.98 kB / 438.4 MB, free: 9.684 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.0001655/0.2724, allocations: 149.8 kB / 438.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.205e-05/0.2725, allocations: 35.75 kB / 438.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006262/0.2731, allocations: 368.9 kB / 439 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2731, allocations: 12 kB / 439 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2731, allocations: 0 / 439 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005456/0.2737, allocations: 0.5515 MB / 439.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.2747, allocations: 0.7104 MB / 440.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2747, allocations: 0 / 440.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.2749, allocations: 43.98 kB / 440.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004419/0.2753, allocations: 96.7 kB / 440.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.2754, allocations: 8 kB / 440.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005379/0.2759, allocations: 0.6381 MB / 441 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2759, allocations: 4.062 kB / 441 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007354/0.2766, allocations: 493.6 kB / 441.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.2767, allocations: 19.89 kB / 441.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.2767, allocations: 8 kB / 441.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.2769, allocations: 12.06 kB / 441.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.277, allocations: 15.95 kB / 441.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.277, allocations: 16 kB / 441.6 MB, free: 6.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002035/0.2772, allocations: 197.2 kB / 441.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2772, allocations: 0 / 441.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004366/0.2776, allocations: 115.8 kB / 441.9 MB, free: 5.988 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.001172/0.2788, allocations: 1.057 MB / 442.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004744/0.2793, allocations: 232.2 kB / 443.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2793, allocations: 0 / 443.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.2796, allocations: 111.8 kB / 443.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000907/0.2805, allocations: 172.8 kB / 443.4 MB, free: 4.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/0.2845, allocations: 3.108 MB / 446.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.2849, allocations: 0.7684 MB / 447.3 MB, free: 344 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000272/0.2852, allocations: 59.25 kB / 447.4 MB, free: 288 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.2854, allocations: 99.39 kB / 447.5 MB, free: 192 kB / 350.1 MB Notification: Performance of SimCode: time 8.41e-07/0.2854, allocations: 0 / 447.5 MB, free: 192 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03501/0.3204, allocations: 10.63 MB / 458.1 MB, free: 5.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.14, allocations: 19.77 kB / 458.1 MB, free: 5.473 MB / 366.1 MB " [Timeout remaining time 648] (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.497021035000216]