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.001301/0.001301, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001327/0.001327, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.397/1.397, allocations: 230.6 MB / 254.1 MB, free: 15.07 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 51.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1058, allocations: 53.32 MB / 426.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.1889/0.2947, allocations: 4.932 MB / 431.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009602/0.2957, allocations: 0.6184 MB / 431.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.2957, allocations: 2.25 kB / 431.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.296, allocations: 27.47 kB / 431.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.2974, allocations: 0.5931 MB / 432.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.2976, allocations: 92.2 kB / 432.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.2978, allocations: 184.1 kB / 432.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.836e-05/0.2979, allocations: 6.484 kB / 432.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009194/0.2988, allocations: 0.6107 MB / 433.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.998e-05/0.2989, allocations: 59.02 kB / 433.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.2989, allocations: 7.719 kB / 433.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.3002, allocations: 0.8763 MB / 434.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.3002, allocations: 25.05 kB / 434.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.3003, allocations: 50.16 kB / 434.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.3007, allocations: 241.5 kB / 434.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3007, allocations: 0 / 434.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3007, allocations: 3.938 kB / 434.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3007, allocations: 1.094 kB / 434.6 MB, free: 7.461 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.0004911/0.3012, allocations: 427.2 kB / 435 MB, free: 7.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3012, allocations: 9.969 kB / 435 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.064e-05/0.3012, allocations: 42.78 kB / 435.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003918/0.3016, allocations: 30.67 kB / 435.1 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.3019, allocations: 200.6 kB / 435.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.3019, allocations: 6.938 kB / 435.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.3019, allocations: 9.469 kB / 435.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.3021, allocations: 138.2 kB / 435.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3021, allocations: 3.938 kB / 435.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.3022, allocations: 2.188 kB / 435.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.3022, allocations: 2.156 kB / 435.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.3024, allocations: 109.8 kB / 435.6 MB, free: 6.738 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.0005813/0.3029, allocations: 0.6658 MB / 436.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.3031, allocations: 76.52 kB / 436.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.91e-05/0.3031, allocations: 43.88 kB / 436.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003908/0.3035, allocations: 0.8072 MB / 437.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.3035, allocations: 32.36 kB / 437.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.3036, allocations: 1.062 kB / 437.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002744/0.3038, allocations: 131.5 kB / 437.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.3039, allocations: 57.66 kB / 437.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.309e-05/0.3039, allocations: 118.4 kB / 437.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.3039, allocations: 26.8 kB / 437.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.304, allocations: 104.1 kB / 437.6 MB, free: 4.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.304, allocations: 46.72 kB / 437.7 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.304, allocations: 41.47 kB / 437.7 MB, free: 4.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.243e-05/0.3041, allocations: 315 kB / 438 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.936e-05/0.3041, allocations: 30.23 kB / 438 MB, free: 4.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-05/0.3042, allocations: 75.38 kB / 438.1 MB, free: 4.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.3043, allocations: 102.3 kB / 438.2 MB, free: 4.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3043, allocations: 4 kB / 438.2 MB, free: 4.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001901/0.3045, allocations: 136.2 kB / 438.4 MB, free: 4.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3045, allocations: 7.562 kB / 438.4 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3045, allocations: 0.9062 kB / 438.4 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3045, allocations: 2.922 kB / 438.4 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.3047, allocations: 36.91 kB / 438.4 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3047, allocations: 3.188 kB / 438.4 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.48e-05/0.3047, allocations: 15.64 kB / 438.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.3047, allocations: 11.52 kB / 438.4 MB, free: 4.262 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.95e-05/0.3048, allocations: 123.5 kB / 438.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.3048, allocations: 8.516 kB / 438.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.3051, allocations: 140.6 kB / 438.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3051, allocations: 5.188 kB / 438.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3051, allocations: 4.781 kB / 438.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3051, allocations: 0.6562 kB / 438.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/0.3055, allocations: 399.9 kB / 439.1 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3055, allocations: 3.938 kB / 439.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.719e-05/0.3055, allocations: 25 kB / 439.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3055, allocations: 6.141 kB / 439.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3056, allocations: 1.156 kB / 439.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3056, allocations: 0.6094 kB / 439.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3056, allocations: 1.062 kB / 439.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.3057, allocations: 209.9 kB / 439.3 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.3058, allocations: 101.4 kB / 439.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.3058, allocations: 2.797 kB / 439.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.381e-05/0.3059, allocations: 4.406 kB / 439.5 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.3059, allocations: 8.078 kB / 439.5 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.3059, allocations: 5.344 kB / 439.5 MB, free: 3.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.077e-05/0.306, allocations: 91.14 kB / 439.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.306, allocations: 0 / 439.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003436/0.3063, allocations: 65.44 kB / 439.6 MB, free: 3.434 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.0005377/0.3069, allocations: 0.7993 MB / 440.4 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.3071, allocations: 81.33 kB / 440.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3071, allocations: 1.344 kB / 440.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.114e-05/0.3071, allocations: 36.06 kB / 440.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.3075, allocations: 47.58 kB / 440.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.3089, allocations: 1.577 MB / 442.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.309, allocations: 0.6932 MB / 442.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.3091, allocations: 34.44 kB / 442.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.829e-05/0.3092, allocations: 31.09 kB / 442.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3092, allocations: 0 / 442.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.3354, allocations: 3.869 MB / 446.8 MB, free: 168 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/8.137, allocations: 4.969 kB / 446.8 MB, free: 168 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.399005497107282]