Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.0008164/0.0008164, allocations: 76.94 kB / 22.28 MB, free: 2.211 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.0009347/0.0009347, allocations: 164.5 kB / 25.69 MB, free: 7.922 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.9425/0.9425, allocations: 158.6 MB / 187.6 MB, free: 2.797 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.Nitrogen,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.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,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.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 251.6 MB, free: 7.164 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.809e-05, allocations: 2.312 kB / 251.6 MB, free: 7.16 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.2912/0.2913, allocations: 144.6 MB / 396.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.2925, allocations: 0.7095 MB / 397 MB, free: 9.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.2927, allocations: 6.25 kB / 397 MB, free: 9.156 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.293, allocations: 101.7 kB / 397.1 MB, free: 9.125 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006319/0.2936, allocations: 385.4 kB / 397.4 MB, free: 9.082 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000642/0.2943, allocations: 371.6 kB / 397.8 MB, free: 9.059 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009776/0.2953, allocations: 0.9368 MB / 398.7 MB, free: 9.059 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.2954, allocations: 73.89 kB / 398.8 MB, free: 9.047 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.297, allocations: 0.9278 MB / 399.7 MB, free: 8.918 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.2973, allocations: 230.4 kB / 400 MB, free: 8.891 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.111e-05/0.2973, allocations: 34.5 kB / 400 MB, free: 8.887 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.2975, allocations: 126.8 kB / 400.1 MB, free: 8.859 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.762e-05/0.2976, allocations: 105.6 kB / 400.2 MB, free: 8.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.2977, allocations: 141.6 kB / 400.4 MB, free: 8.797 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.2981, allocations: 384.6 kB / 400.7 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.2981, allocations: 0 / 400.7 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.2981, allocations: 0 / 400.7 MB, free: 8.676 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.2981, allocations: 0 / 400.7 MB, free: 8.676 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.000528/0.2986, allocations: 497.5 kB / 401.2 MB, free: 8.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2987, allocations: 14.8 kB / 401.2 MB, free: 8.316 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.2989, allocations: 79.58 kB / 401.3 MB, free: 8.281 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.2991, allocations: 197.1 kB / 401.5 MB, free: 8.117 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.2991, allocations: 22.19 kB / 401.5 MB, free: 8.117 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.2992, allocations: 30.5 kB / 401.6 MB, free: 8.113 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.2994, allocations: 475.7 kB / 402 MB, free: 7.684 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.2994, allocations: 7.938 kB / 402 MB, free: 7.676 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.2995, allocations: 12.34 kB / 402 MB, free: 7.676 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.2995, allocations: 5.25 kB / 402.1 MB, free: 7.676 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.2996, allocations: 94.64 kB / 402.1 MB, free: 7.648 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.0007889/0.3004, allocations: 1.002 MB / 403.1 MB, free: 6.879 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.3005, allocations: 99.62 kB / 403.2 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.3005, allocations: 45.94 kB / 403.3 MB, free: 6.832 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.3006, allocations: 13.42 kB / 403.3 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.3006, allocations: 36.91 kB / 403.3 MB, free: 6.785 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.3006, allocations: 0 / 403.3 MB, free: 6.785 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.002198/0.3028, allocations: 0.9169 MB / 404.3 MB, free: 6.301 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.628e-05/0.3028, allocations: 54.22 kB / 404.3 MB, free: 6.238 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.3029, allocations: 211.7 kB / 404.5 MB, free: 6.102 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3029, allocations: 31.8 kB / 404.5 MB, free: 6.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.303, allocations: 175.2 kB / 404.7 MB, free: 5.926 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.303, allocations: 98.73 kB / 404.8 MB, free: 5.852 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.3031, allocations: 71.95 kB / 404.9 MB, free: 5.828 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.804e-05/0.3031, allocations: 336.7 kB / 405.2 MB, free: 5.508 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.986e-05/0.3032, allocations: 35.25 kB / 405.2 MB, free: 5.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-05/0.3032, allocations: 143.6 kB / 405.4 MB, free: 5.371 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.3034, allocations: 204.7 kB / 405.6 MB, free: 5.215 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.3034, allocations: 3.188 kB / 405.6 MB, free: 5.215 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002484/0.3036, allocations: 236.7 kB / 405.8 MB, free: 5.105 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.3036, allocations: 9.344 kB / 405.8 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3036, allocations: 2.719 kB / 405.8 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001307/0.3038, allocations: 43.38 kB / 405.9 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.304, allocations: 98.84 kB / 406 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007876/0.3119, allocations: 2.76 MB / 408.7 MB, free: 2.398 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.312, allocations: 12 kB / 408.7 MB, free: 2.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.312, allocations: 22.97 kB / 408.8 MB, free: 2.398 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.326e-05/0.3121, allocations: 146.8 kB / 408.9 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.3122, allocations: 23.83 kB / 408.9 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.3125, allocations: 280.5 kB / 409.2 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3125, allocations: 6.594 kB / 409.2 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.3125, allocations: 0 / 409.2 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001779/0.3127, allocations: 458 kB / 409.7 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.3131, allocations: 408.2 kB / 410.1 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3131, allocations: 7.172 kB / 410.1 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.3133, allocations: 79.83 kB / 410.1 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.215e-05/0.3133, allocations: 25.05 kB / 410.2 MB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.3133, allocations: 9.844 kB / 410.2 MB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003396/0.3137, allocations: 1.158 MB / 411.3 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3137, allocations: 128 / 411.3 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.314, allocations: 310.5 kB / 411.6 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.314, allocations: 17.77 kB / 411.7 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.314, allocations: 6.094 kB / 411.7 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3141, allocations: 12.73 kB / 411.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.3141, allocations: 23.47 kB / 411.7 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.3141, allocations: 18.55 kB / 411.7 MB, free: 15.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.647e-05/0.3142, allocations: 66.8 kB / 411.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3142, allocations: 0 / 411.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002915/0.3145, allocations: 126.1 kB / 411.9 MB, free: 15.9 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.0002257/0.3147, allocations: 141.2 kB / 412 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004808/0.3152, allocations: 385.4 kB / 412.4 MB, free: 15.53 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.3152, allocations: 10.09 kB / 412.4 MB, free: 15.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.3153, allocations: 177.8 kB / 412.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.3157, allocations: 143.8 kB / 412.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008655/0.3166, allocations: 0.5801 MB / 413.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.895e-05/0.3166, allocations: 89.62 kB / 413.4 MB, free: 14.87 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002238/0.3168, allocations: 87 kB / 413.5 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.3171, allocations: 184.6 kB / 413.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of SimCode: time 6.72e-07/0.3171, allocations: 0 / 413.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of Templates: time 0.01043/0.3276, allocations: 8.918 MB / 422.6 MB, free: 10.16 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_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/Nitrogen/Nitrogen.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.088836102746427]