Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.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.00152/0.00152, allocations: 113 kB / 18.49 MB, free: 4.539 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.001666/0.001666, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.37/1.37, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 47.92 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08951/0.09093, allocations: 53.32 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.174/0.265, allocations: 4.93 MB / 431.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00095/0.2659, allocations: 0.6205 MB / 432.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.66e-05/0.266, allocations: 0.5 kB / 432.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.2662, allocations: 33.42 kB / 432.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.2676, allocations: 0.5916 MB / 433.2 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.2678, allocations: 89.09 kB / 433.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.268, allocations: 181.4 kB / 433.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.092e-05/0.268, allocations: 5.203 kB / 433.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008284/0.2688, allocations: 0.6169 MB / 434.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.535e-05/0.2689, allocations: 54.5 kB / 434.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.2689, allocations: 5.969 kB / 434.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.2702, allocations: 0.8818 MB / 435 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.752e-05/0.2702, allocations: 22.95 kB / 435 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.2703, allocations: 47.55 kB / 435.1 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004426/0.2707, allocations: 244 kB / 435.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2707, allocations: 0 / 435.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.2707, allocations: 1.344 kB / 435.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.2707, allocations: 3.938 kB / 435.3 MB, free: 7.418 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004631/0.2712, allocations: 427.8 kB / 435.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.2712, allocations: 11.27 kB / 435.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.801e-05/0.2713, allocations: 1.969 kB / 435.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.017e-05/0.2713, allocations: 43.7 kB / 435.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003716/0.2717, allocations: 34.47 kB / 435.8 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.2719, allocations: 197.4 kB / 436 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.2719, allocations: 7.219 kB / 436 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.2719, allocations: 9.125 kB / 436 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.2721, allocations: 138.5 kB / 436.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2721, allocations: 1 kB / 436.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.2722, allocations: 8.281 kB / 436.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2722, allocations: 2.406 kB / 436.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.2723, allocations: 108.9 kB / 436.3 MB, free: 6.695 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.0005484/0.2729, allocations: 0.6633 MB / 436.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.273, allocations: 78.12 kB / 437 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.425e-05/0.2731, allocations: 39.28 kB / 437.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003911/0.2735, allocations: 0.8088 MB / 437.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.2735, allocations: 35.77 kB / 437.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.2735, allocations: 3.938 kB / 437.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002717/0.2738, allocations: 128.5 kB / 438 MB, free: 5.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.2738, allocations: 61.56 kB / 438.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.476e-05/0.2738, allocations: 114.2 kB / 438.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.2739, allocations: 27.2 kB / 438.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.2739, allocations: 102.9 kB / 438.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.2739, allocations: 50.08 kB / 438.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.274, allocations: 37.92 kB / 438.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.424e-05/0.274, allocations: 319.5 kB / 438.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.2741, allocations: 25.81 kB / 438.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.599e-05/0.2741, allocations: 75.98 kB / 438.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.2743, allocations: 105.9 kB / 438.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2743, allocations: 0 / 438.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001893/0.2745, allocations: 139.8 kB / 439.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2745, allocations: 11.34 kB / 439.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2745, allocations: 1.469 kB / 439.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.2745, allocations: 7.234 kB / 439.1 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.2746, allocations: 35.7 kB / 439.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2746, allocations: 2.844 kB / 439.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.39e-05/0.2747, allocations: 12.52 kB / 439.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.2747, allocations: 11.83 kB / 439.1 MB, free: 4.215 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * 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 5.418e-05/0.2747, allocations: 115.3 kB / 439.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.2748, allocations: 12.14 kB / 439.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.275, allocations: 149.4 kB / 439.4 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.275, allocations: 1.5 kB / 439.4 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2751, allocations: 1.719 kB / 439.4 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.2751, allocations: 0.6562 kB / 439.4 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003616/0.2754, allocations: 399.4 kB / 439.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2754, allocations: 0 / 439.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.797e-05/0.2755, allocations: 26.34 kB / 439.8 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.2755, allocations: 5.594 kB / 439.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.2755, allocations: 4.359 kB / 439.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2755, allocations: 1 kB / 439.9 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2755, allocations: 0.6562 kB / 439.9 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.2757, allocations: 206.8 kB / 440.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.2757, allocations: 99.39 kB / 440.1 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.2757, allocations: 2.344 kB / 440.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.266e-05/0.2758, allocations: 7.578 kB / 440.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.035e-05/0.2759, allocations: 10.94 kB / 440.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.2759, allocations: 5.875 kB / 440.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.444e-05/0.2759, allocations: 89.56 kB / 440.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2759, allocations: 0 / 440.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000317/0.2762, allocations: 67.16 kB / 440.3 MB, free: 3.391 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0004714/0.2767, allocations: 0.7943 MB / 441.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.2769, allocations: 85.14 kB / 441.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2769, allocations: 4 kB / 441.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.183e-05/0.2769, allocations: 38.38 kB / 441.2 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.2773, allocations: 37.23 kB / 441.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.2785, allocations: 1.584 MB / 442.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.2786, allocations: 0.6941 MB / 443.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.2787, allocations: 34.03 kB / 443.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/0.2788, allocations: 31.06 kB / 443.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2788, allocations: 0 / 443.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.2991, allocations: 3.903 MB / 447.5 MB, free: 104 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.737/8.036, allocations: 5.844 kB / 447.5 MB, free: 104 kB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.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: 10.397395138978027]