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.001557/0.001557, allocations: 82.05 kB / 22 MB, free: 5.18 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.001909/0.001909, allocations: 161.8 kB / 25.25 MB, free: 3.023 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.357/1.357, allocations: 158.6 MB / 187 MB, free: 6.234 MB / 174.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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") [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.001795/0.001795, allocations: 55.92 kB / 299.4 MB, free: 6.82 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2764, allocations: 49.14 MB / 348.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02982/0.3062, allocations: 22.39 MB / 370.9 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003544/0.3098, allocations: 2.32 MB / 373.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.3099, allocations: 7.938 kB / 373.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005631/0.3105, allocations: 163 kB / 373.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006328/0.3111, allocations: 330.2 kB / 373.7 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.3135, allocations: 0.9899 MB / 374.7 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.3145, allocations: 0.9148 MB / 375.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.3147, allocations: 72.73 kB / 375.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004765/0.3195, allocations: 2.798 MB / 378.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000443/0.3199, allocations: 270.9 kB / 378.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.414e-05/0.32, allocations: 32 kB / 378.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005854/0.3206, allocations: 243.7 kB / 379.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.3207, allocations: 103.6 kB / 379.2 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.3209, allocations: 163.4 kB / 379.3 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007646/0.3217, allocations: 0.5827 MB / 379.9 MB, free: 64 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3217, allocations: 4 kB / 379.9 MB, free: 60 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3217, allocations: 4 kB / 379.9 MB, free: 56 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3217, allocations: 0 / 379.9 MB, free: 56 kB / 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.0009556/0.3227, allocations: 0.5596 MB / 380.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3227, allocations: 11.98 kB / 380.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003747/0.3231, allocations: 48.73 kB / 380.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.3235, allocations: 241.9 kB / 380.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.3236, allocations: 21.03 kB / 380.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.239e-05/0.3236, allocations: 24.38 kB / 380.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006932/0.3243, allocations: 0.5576 MB / 381.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.3243, allocations: 4 kB / 381.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.3244, allocations: 12 kB / 381.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.3244, allocations: 4 kB / 381.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.3247, allocations: 193.7 kB / 381.6 MB, free: 14.24 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.001966/0.3267, allocations: 1.399 MB / 383 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.327, allocations: 174.7 kB / 383.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.3272, allocations: 76.83 kB / 383.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.303e-05/0.3272, allocations: 24.05 kB / 383.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.3273, allocations: 42.5 kB / 383.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.3273, allocations: 0 / 383.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002513/0.3298, allocations: 0.8759 MB / 384.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.3298, allocations: 55.41 kB / 384.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.3301, allocations: 237.7 kB / 384.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.3301, allocations: 37.7 kB / 384.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.3303, allocations: 188.4 kB / 384.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.417e-05/0.3304, allocations: 107.1 kB / 384.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.3305, allocations: 74.02 kB / 384.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3307, allocations: 338.8 kB / 385.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.3308, allocations: 88.7 kB / 385.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.3311, allocations: 162.9 kB / 385.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.3315, allocations: 281.1 kB / 385.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3315, allocations: 0 / 385.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006544/0.3321, allocations: 378 kB / 386.1 MB, free: 9.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3322, allocations: 8 kB / 386.1 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.3322, allocations: 4 kB / 386.1 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000416/0.3326, allocations: 92.8 kB / 386.2 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.3328, allocations: 63.89 kB / 386.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006268/0.3335, allocations: 0.6577 MB / 386.9 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.3336, allocations: 12 kB / 386.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.75e-05/0.3337, allocations: 12.19 kB / 386.9 MB, free: 8.621 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.3339, allocations: 165.7 kB / 387.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.242e-05/0.3339, allocations: 31.81 kB / 387.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006695/0.3346, allocations: 368.9 kB / 387.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3346, allocations: 8.031 kB / 387.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3346, allocations: 3.938 kB / 387.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006065/0.3352, allocations: 0.5475 MB / 388 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.3363, allocations: 0.6407 MB / 388.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3363, allocations: 4 kB / 388.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.3364, allocations: 35.91 kB / 388.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004677/0.3369, allocations: 96.78 kB / 388.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.3369, allocations: 8 kB / 388.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005774/0.3375, allocations: 0.6344 MB / 389.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3375, allocations: 4.094 kB / 389.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007785/0.3383, allocations: 481.6 kB / 389.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.3383, allocations: 27.78 kB / 389.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.3384, allocations: 8 kB / 389.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.3386, allocations: 11.98 kB / 390 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.3386, allocations: 15.97 kB / 390 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.3386, allocations: 15.98 kB / 390 MB, free: 5.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.3388, allocations: 177.2 kB / 390.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3388, allocations: 4.062 kB / 390.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004453/0.3393, allocations: 111.9 kB / 390.3 MB, free: 5.035 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.0002357/0.3395, allocations: 139.1 kB / 390.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005218/0.34, allocations: 239.4 kB / 390.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.34, allocations: 0 / 390.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.3403, allocations: 122.3 kB / 390.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008385/0.3412, allocations: 144.1 kB / 390.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.3424, allocations: 0.6403 MB / 391.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.3425, allocations: 151.2 kB / 391.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002227/0.3427, allocations: 58.88 kB / 391.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.841e-05/0.3428, allocations: 32.47 kB / 391.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3428, allocations: 0 / 391.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of Templates: time 0.01261/0.3554, allocations: 6.449 MB / 398.2 MB, free: 12.99 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 480] 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: 4.596124993055128]