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.0009585/0.0009585, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001006/0.001006, allocations: 161.2 kB / 25.6 MB, free: 8.895 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.9346/0.9346, allocations: 158.6 MB / 187.5 MB, free: 2.809 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.723e-06/1.723e-06, allocations: 0 / 251.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.358e-05/1.53e-05, allocations: 2.312 kB / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.3044/0.3044, allocations: 142.4 MB / 394 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.3058, allocations: 0.6852 MB / 394.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002295/0.306, allocations: 7.438 kB / 394.7 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.3064, allocations: 96.55 kB / 394.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007374/0.3071, allocations: 385.1 kB / 395.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007844/0.3079, allocations: 362.4 kB / 395.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001076/0.309, allocations: 0.9287 MB / 396.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.3092, allocations: 70.84 kB / 396.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.3111, allocations: 0.9075 MB / 397.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/0.3115, allocations: 248.4 kB / 397.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.354e-05/0.3115, allocations: 32.59 kB / 397.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002839/0.3118, allocations: 120.5 kB / 397.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.967e-05/0.3119, allocations: 107.6 kB / 397.9 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.3121, allocations: 140 kB / 398 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.3125, allocations: 374.9 kB / 398.4 MB, free: 10.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3125, allocations: 0 / 398.4 MB, free: 10.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3125, allocations: 0 / 398.4 MB, free: 10.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.3126, allocations: 2.766 kB / 398.4 MB, free: 10.27 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.0006035/0.3132, allocations: 0.625 MB / 399 MB, free: 9.785 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3132, allocations: 19.39 kB / 399 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002628/0.3135, allocations: 86 kB / 399.1 MB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.3137, allocations: 229.6 kB / 399.3 MB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.3137, allocations: 18.56 kB / 399.4 MB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.3138, allocations: 30.97 kB / 399.4 MB, free: 9.555 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.3141, allocations: 0.4891 MB / 399.9 MB, free: 9.098 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3141, allocations: 0 / 399.9 MB, free: 9.098 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.3141, allocations: 15.03 kB / 399.9 MB, free: 9.098 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.3141, allocations: 5.5 kB / 399.9 MB, free: 9.098 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.3143, allocations: 119 kB / 400 MB, free: 9.055 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.001047/0.3153, allocations: 1.411 MB / 401.4 MB, free: 7.898 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.3155, allocations: 125.9 kB / 401.5 MB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.702e-05/0.3156, allocations: 61.52 kB / 401.6 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.3156, allocations: 14.89 kB / 401.6 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.3156, allocations: 39.89 kB / 401.7 MB, free: 7.773 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.803e-06/0.3156, allocations: 0 / 401.7 MB, free: 7.773 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.002772/0.3184, allocations: 0.9571 MB / 402.6 MB, free: 7.289 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.553e-05/0.3184, allocations: 54.19 kB / 402.7 MB, free: 7.227 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.3185, allocations: 270.9 kB / 402.9 MB, free: 7.027 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.3186, allocations: 28.77 kB / 403 MB, free: 6.996 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.3186, allocations: 227.2 kB / 403.2 MB, free: 6.812 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.3187, allocations: 106.4 kB / 403.3 MB, free: 6.738 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-05/0.3188, allocations: 78.53 kB / 403.4 MB, free: 6.707 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.975e-05/0.3188, allocations: 0.5085 MB / 403.9 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.633e-05/0.3189, allocations: 38.66 kB / 403.9 MB, free: 6.199 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.319, allocations: 187.7 kB / 404.1 MB, free: 6.008 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.3192, allocations: 262.5 kB / 404.4 MB, free: 5.809 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3192, allocations: 0 / 404.4 MB, free: 5.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004232/0.3197, allocations: 316.1 kB / 404.7 MB, free: 5.688 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3197, allocations: 5.312 kB / 404.7 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.3197, allocations: 3.156 kB / 404.7 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001722/0.3199, allocations: 81.02 kB / 404.7 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.32, allocations: 77.47 kB / 404.8 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006277/0.3207, allocations: 2.541 MB / 407.4 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.3208, allocations: 8.344 kB / 407.4 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.3208, allocations: 32.27 kB / 407.4 MB, free: 3.066 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.928e-05/0.3209, allocations: 180.1 kB / 407.6 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.3209, allocations: 38.42 kB / 407.6 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.3213, allocations: 337.7 kB / 407.9 MB, free: 2.719 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.3213, allocations: 6.922 kB / 408 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3213, allocations: 6.938 kB / 408 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001808/0.3215, allocations: 495.5 kB / 408.4 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.3219, allocations: 0.5493 MB / 409 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.3219, allocations: 3.938 kB / 409 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.3221, allocations: 55 kB / 409 MB, free: 1.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.467e-05/0.3221, allocations: 26.34 kB / 409.1 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.3222, allocations: 13.02 kB / 409.1 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005158/0.3227, allocations: 1.711 MB / 410.8 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3227, allocations: 0 / 410.8 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.3231, allocations: 416.3 kB / 411.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.3231, allocations: 21.02 kB / 411.2 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.3231, allocations: 10.05 kB / 411.2 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3232, allocations: 13.25 kB / 411.2 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.3233, allocations: 27.56 kB / 411.3 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.3233, allocations: 20.3 kB / 411.3 MB, free: 15.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.131e-05/0.3234, allocations: 188.8 kB / 411.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3234, allocations: 0 / 411.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003527/0.3237, allocations: 123.2 kB / 411.6 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.0002718/0.324, allocations: 148.4 kB / 411.7 MB, free: 15.53 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000352/0.3243, allocations: 345.1 kB / 412.1 MB, free: 15.31 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3243, allocations: 4.062 kB / 412.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.3245, allocations: 264.1 kB / 412.3 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.0004466/0.3249, allocations: 154.3 kB / 412.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009608/0.3259, allocations: 0.591 MB / 413.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.695e-05/0.326, allocations: 95.95 kB / 413.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002448/0.3262, allocations: 98.14 kB / 413.3 MB, free: 14.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.3265, allocations: 219.8 kB / 413.5 MB, free: 14.38 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3265, allocations: 0 / 413.5 MB, free: 14.38 MB / 346.7 MB Notification: Performance of Templates: time 0.01082/0.3373, allocations: 8.602 MB / 422.1 MB, free: 9.953 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.1675758277997375]