Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.001021/0.001021, allocations: 84.98 kB / 23 MB, free: 1.5 MB / 18.57 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.001191/0.001191, allocations: 175.5 kB / 26.39 MB, free: 7.988 MB / 18.57 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 0.9943/0.9943, allocations: 158.6 MB / 188.3 MB, free: 2.805 MB / 170.7 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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 252.3 MB, free: 7.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.339e-05, allocations: 2.312 kB / 252.3 MB, free: 7.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.2792/0.2793, allocations: 142.4 MB / 394.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.2804, allocations: 0.6821 MB / 395.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.2806, allocations: 10.97 kB / 395.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.281, allocations: 98.27 kB / 395.5 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006263/0.2816, allocations: 388.7 kB / 395.9 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006538/0.2822, allocations: 360.8 kB / 396.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007274/0.283, allocations: 0.9242 MB / 397.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.2831, allocations: 77.89 kB / 397.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.2847, allocations: 0.9064 MB / 398.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.285, allocations: 257.4 kB / 398.4 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.285, allocations: 30.44 kB / 398.5 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.2852, allocations: 115.8 kB / 398.6 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.529e-05/0.2853, allocations: 100.8 kB / 398.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2854, allocations: 140.5 kB / 398.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.2857, allocations: 375.1 kB / 399.2 MB, free: 10.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2857, allocations: 0 / 399.2 MB, free: 10.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.2857, allocations: 3.938 kB / 399.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.2857, allocations: 0 / 399.2 MB, free: 10.25 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0004992/0.2862, allocations: 0.6278 MB / 399.8 MB, free: 9.762 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.2862, allocations: 19.42 kB / 399.8 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.2864, allocations: 83.03 kB / 399.9 MB, free: 9.715 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.2867, allocations: 226.6 kB / 400.1 MB, free: 9.539 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.2867, allocations: 18.38 kB / 400.1 MB, free: 9.539 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/0.2867, allocations: 33.42 kB / 400.2 MB, free: 9.539 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.287, allocations: 497.9 kB / 400.7 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.287, allocations: 0 / 400.7 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.287, allocations: 15.38 kB / 400.7 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.287, allocations: 8.656 kB / 400.7 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.2871, allocations: 119.4 kB / 400.8 MB, free: 9.031 MB / 330.7 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.0007946/0.2879, allocations: 1.417 MB / 402.2 MB, free: 7.879 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.2881, allocations: 117.5 kB / 402.3 MB, free: 7.828 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.125e-05/0.2881, allocations: 58.16 kB / 402.4 MB, free: 7.805 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.2881, allocations: 9.375 kB / 402.4 MB, free: 7.801 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.2881, allocations: 42.45 kB / 402.4 MB, free: 7.758 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.092e-06/0.2881, allocations: 0 / 402.4 MB, free: 7.758 MB / 330.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.002205/0.2904, allocations: 0.939 MB / 403.4 MB, free: 7.281 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.408e-05/0.2904, allocations: 58.56 kB / 403.4 MB, free: 7.215 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.974e-05/0.2905, allocations: 271.5 kB / 403.7 MB, free: 7.016 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.2905, allocations: 32.11 kB / 403.7 MB, free: 6.984 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.2905, allocations: 226 kB / 404 MB, free: 6.797 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.2906, allocations: 106.5 kB / 404.1 MB, free: 6.723 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.2906, allocations: 82.98 kB / 404.1 MB, free: 6.691 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.444e-05/0.2907, allocations: 0.5013 MB / 404.6 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.786e-05/0.2907, allocations: 41.98 kB / 404.7 MB, free: 6.184 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.185e-05/0.2908, allocations: 191.8 kB / 404.9 MB, free: 5.996 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.291, allocations: 244 kB / 405.1 MB, free: 5.805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.291, allocations: 0 / 405.1 MB, free: 5.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002863/0.2913, allocations: 319.7 kB / 405.4 MB, free: 5.672 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2913, allocations: 12.22 kB / 405.4 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2913, allocations: 2.875 kB / 405.4 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001038/0.2914, allocations: 54.91 kB / 405.5 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.2916, allocations: 93.27 kB / 405.6 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006398/0.2922, allocations: 2.521 MB / 408.1 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.36e-05/0.2923, allocations: 15.77 kB / 408.1 MB, free: 3.062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.2923, allocations: 29.03 kB / 408.1 MB, free: 3.062 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 7.827e-05/0.2924, allocations: 178.9 kB / 408.3 MB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.2925, allocations: 43.3 kB / 408.4 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/0.2928, allocations: 336.2 kB / 408.7 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.2928, allocations: 5.219 kB / 408.7 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.2928, allocations: 0 / 408.7 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001824/0.293, allocations: 494.7 kB / 409.2 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004251/0.2934, allocations: 0.5493 MB / 409.7 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2934, allocations: 4.062 kB / 409.7 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.2936, allocations: 64.39 kB / 409.8 MB, free: 1.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.58e-05/0.2937, allocations: 26.92 kB / 409.8 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.2937, allocations: 12.69 kB / 409.8 MB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003699/0.294, allocations: 1.706 MB / 411.5 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.294, allocations: 0 / 411.5 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.2944, allocations: 419 kB / 411.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.2944, allocations: 20.78 kB / 412 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.2944, allocations: 6.5 kB / 412 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.2945, allocations: 9 kB / 412 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.2946, allocations: 23.62 kB / 412 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.2946, allocations: 23.77 kB / 412 MB, free: 15.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.516e-05/0.2947, allocations: 191.9 kB / 412.2 MB, free: 15.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2947, allocations: 0 / 412.2 MB, free: 15.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003104/0.295, allocations: 127.1 kB / 412.3 MB, free: 15.64 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,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 (25): * Single equations (assignments): 24 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002564/0.2952, allocations: 147.1 kB / 412.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003392/0.2956, allocations: 352.2 kB / 412.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2956, allocations: 0 / 412.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.2957, allocations: 257.2 kB / 413.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.2962, allocations: 151.1 kB / 413.2 MB, free: 15.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008846/0.2971, allocations: 0.5958 MB / 413.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.175e-05/0.2971, allocations: 93.73 kB / 413.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002076/0.2973, allocations: 93.39 kB / 414 MB, free: 14.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.2976, allocations: 227 kB / 414.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2976, allocations: 0 / 414.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of Templates: time 0.008944/0.3066, allocations: 8.702 MB / 422.9 MB, free: 9.902 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.282880872953683]