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.001422/0.001422, allocations: 75.77 kB / 22.46 MB, free: 2.094 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.001701/0.001701, allocations: 161.6 kB / 25.75 MB, free: 8.066 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.9319/0.9319, allocations: 158.6 MB / 187.5 MB, free: 2.953 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.904e-06/1.904e-06, allocations: 0 / 251.2 MB, free: 7.766 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.699e-05, allocations: 6.25 kB / 251.2 MB, free: 7.758 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.3152/0.3152, allocations: 166.1 MB / 417.3 MB, free: 6.801 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00297/0.3182, allocations: 3.265 MB / 420.5 MB, free: 6.129 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.3184, allocations: 6.156 kB / 420.5 MB, free: 6.125 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005214/0.3189, allocations: 169.6 kB / 420.7 MB, free: 6.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007712/0.3197, allocations: 434.2 kB / 421.1 MB, free: 5.785 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006909/0.3203, allocations: 347.4 kB / 421.4 MB, free: 5.586 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007393/0.3211, allocations: 0.8998 MB / 422.3 MB, free: 5.109 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.3213, allocations: 78.16 kB / 422.4 MB, free: 5.066 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.323, allocations: 0.9335 MB / 423.4 MB, free: 4.551 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003236/0.3233, allocations: 246.7 kB / 423.6 MB, free: 4.461 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.63e-05/0.3233, allocations: 28.75 kB / 423.6 MB, free: 4.461 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002445/0.3236, allocations: 120.9 kB / 423.7 MB, free: 4.422 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.909e-05/0.3237, allocations: 108.1 kB / 423.9 MB, free: 4.348 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.3238, allocations: 144.5 kB / 424 MB, free: 4.293 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004177/0.3242, allocations: 380.1 kB / 424.4 MB, free: 4.094 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3242, allocations: 2.875 kB / 424.4 MB, free: 4.094 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3242, allocations: 0 / 424.4 MB, free: 4.094 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.3242, allocations: 0 / 424.4 MB, free: 4.094 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.0005501/0.3248, allocations: 0.6183 MB / 425 MB, free: 3.551 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3248, allocations: 12.83 kB / 425 MB, free: 3.547 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.325, allocations: 88.61 kB / 425.1 MB, free: 3.496 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.3253, allocations: 233.8 kB / 425.3 MB, free: 3.289 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3253, allocations: 21.33 kB / 425.3 MB, free: 3.277 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.3253, allocations: 27.94 kB / 425.4 MB, free: 3.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.3257, allocations: 0.506 MB / 425.9 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3257, allocations: 0 / 425.9 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.3257, allocations: 10.44 kB / 425.9 MB, free: 2.762 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3257, allocations: 12.56 kB / 425.9 MB, free: 2.758 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.3259, allocations: 135.5 kB / 426 MB, free: 2.703 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.001086/0.327, allocations: 1.447 MB / 427.5 MB, free: 1.391 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.3272, allocations: 136 kB / 427.6 MB, free: 1.316 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.194e-05/0.3273, allocations: 61 kB / 427.7 MB, free: 1.289 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.3273, allocations: 13.58 kB / 427.7 MB, free: 1.281 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.3273, allocations: 40.33 kB / 427.7 MB, free: 1.234 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/0.3273, allocations: 0 / 427.7 MB, free: 1.234 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.002656/0.33, allocations: 1.087 MB / 428.8 MB, free: 0.582 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.33, allocations: 54.94 kB / 428.9 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.3302, allocations: 275.4 kB / 429.1 MB, free: 296 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.3302, allocations: 32.33 kB / 429.2 MB, free: 260 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.3303, allocations: 221.5 kB / 429.4 MB, free: 44 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.484e-05/0.3303, allocations: 101.6 kB / 429.5 MB, free: 15.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.599e-05/0.3304, allocations: 85.3 kB / 429.6 MB, free: 15.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3306, allocations: 0.5055 MB / 430.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.877e-05/0.3307, allocations: 50.81 kB / 430.1 MB, free: 15.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.3308, allocations: 190.5 kB / 430.3 MB, free: 15.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.3311, allocations: 266.9 kB / 430.6 MB, free: 14.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3311, allocations: 2.625 kB / 430.6 MB, free: 14.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003911/0.3315, allocations: 339.4 kB / 430.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3315, allocations: 5.531 kB / 430.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3315, allocations: 5.719 kB / 430.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/0.3317, allocations: 56.81 kB / 431 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.3319, allocations: 81.62 kB / 431 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.3332, allocations: 2.552 MB / 433.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.3333, allocations: 13.2 kB / 433.6 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/0.3334, allocations: 32.75 kB / 433.6 MB, free: 12.09 MB / 346.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 0.0001416/0.3335, allocations: 178.2 kB / 433.8 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.3336, allocations: 36.83 kB / 433.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004946/0.3341, allocations: 360.4 kB / 434.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.3341, allocations: 2.406 kB / 434.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3341, allocations: 4 kB / 434.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003277/0.3344, allocations: 0.4992 MB / 434.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006259/0.335, allocations: 0.5983 MB / 435.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.335, allocations: 2.906 kB / 435.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.3352, allocations: 57.56 kB / 435.4 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.607e-05/0.3353, allocations: 32.16 kB / 435.4 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.3353, allocations: 17.81 kB / 435.4 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007835/0.3361, allocations: 1.728 MB / 437.1 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3361, allocations: 0 / 437.1 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004511/0.3365, allocations: 442.7 kB / 437.6 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.3366, allocations: 24.06 kB / 437.6 MB, free: 8.512 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.3366, allocations: 11.09 kB / 437.6 MB, free: 8.504 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.3367, allocations: 7.312 kB / 437.6 MB, free: 8.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.3368, allocations: 27.95 kB / 437.6 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.3368, allocations: 20.53 kB / 437.7 MB, free: 8.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001262/0.3369, allocations: 194.1 kB / 437.8 MB, free: 8.324 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3369, allocations: 0 / 437.8 MB, free: 8.324 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003929/0.3373, allocations: 121.3 kB / 438 MB, free: 8.309 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.0003117/0.3376, allocations: 160.2 kB / 438.1 MB, free: 8.184 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004558/0.3381, allocations: 360.6 kB / 438.5 MB, free: 7.941 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3381, allocations: 0 / 438.5 MB, free: 7.941 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.3382, allocations: 266 kB / 438.7 MB, free: 7.719 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.3388, allocations: 144.8 kB / 438.9 MB, free: 7.645 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.34, allocations: 0.5952 MB / 439.5 MB, free: 7.203 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.821e-05/0.34, allocations: 90.53 kB / 439.6 MB, free: 7.121 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002426/0.3403, allocations: 95.39 kB / 439.7 MB, free: 7.074 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.666e-05/0.3404, allocations: 52.14 kB / 439.7 MB, free: 7.055 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3404, allocations: 0 / 439.7 MB, free: 7.055 MB / 346.7 MB Notification: Performance of Templates: time 0.01001/0.3504, allocations: 7.757 MB / 447.5 MB, free: 15.76 MB / 362.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.273871381999925]