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.002319/0.002319, allocations: 95.53 kB / 21.73 MB, free: 2.691 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.002038/0.002038, allocations: 167.4 kB / 25.03 MB, free: 8.906 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 1.382/1.382, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 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.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.333e-06/1.333e-06, allocations: 0 / 250.4 MB, free: 7.785 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.87e-05, allocations: 2.312 kB / 250.4 MB, free: 7.781 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3899/0.3899, allocations: 166 MB / 416.4 MB, free: 6.883 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003502/0.3934, allocations: 3.259 MB / 419.7 MB, free: 6.219 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.3936, allocations: 6.719 kB / 419.7 MB, free: 6.215 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006329/0.3942, allocations: 167.8 kB / 419.8 MB, free: 6.105 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009623/0.3952, allocations: 422.3 kB / 420.2 MB, free: 5.875 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008304/0.396, allocations: 359.4 kB / 420.6 MB, free: 5.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007136/0.3968, allocations: 0.8988 MB / 421.5 MB, free: 5.184 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.3969, allocations: 65.89 kB / 421.6 MB, free: 5.152 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.3985, allocations: 0.9409 MB / 422.5 MB, free: 4.629 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.3988, allocations: 252.7 kB / 422.7 MB, free: 4.535 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.278e-05/0.3989, allocations: 28.97 kB / 422.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.3992, allocations: 130.2 kB / 422.9 MB, free: 4.488 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.622e-05/0.3993, allocations: 99.88 kB / 423 MB, free: 4.418 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.3994, allocations: 146.3 kB / 423.1 MB, free: 4.359 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005744/0.4, allocations: 0.5424 MB / 423.7 MB, free: 4.016 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.4, allocations: 0 / 423.7 MB, free: 4.016 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4, allocations: 0 / 423.7 MB, free: 4.016 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.066e-06/0.4, allocations: 0 / 423.7 MB, free: 4.016 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.0008028/0.4008, allocations: 0.6369 MB / 424.3 MB, free: 3.465 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.4008, allocations: 12.73 kB / 424.3 MB, free: 3.461 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000315/0.4012, allocations: 84.33 kB / 424.4 MB, free: 3.414 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.4015, allocations: 231.8 kB / 424.6 MB, free: 3.207 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.4015, allocations: 19.78 kB / 424.7 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.4016, allocations: 28.16 kB / 424.7 MB, free: 3.191 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.402, allocations: 0.5585 MB / 425.2 MB, free: 2.664 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.4021, allocations: 10.61 kB / 425.3 MB, free: 2.656 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.4021, allocations: 10.94 kB / 425.3 MB, free: 2.648 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.4021, allocations: 9.844 kB / 425.3 MB, free: 2.645 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.4024, allocations: 205.3 kB / 425.5 MB, free: 2.551 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.001459/0.4039, allocations: 1.533 MB / 427 MB, free: 1.191 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.4041, allocations: 178.3 kB / 427.2 MB, free: 1.094 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.4043, allocations: 91.97 kB / 427.3 MB, free: 1.047 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.4043, allocations: 6.344 kB / 427.3 MB, free: 1.047 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.4043, allocations: 44.23 kB / 427.3 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.102e-06/0.4043, allocations: 0 / 427.3 MB, free: 0.9961 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.004843/0.4092, allocations: 1.233 MB / 428.6 MB, free: 260 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.4092, allocations: 60.75 kB / 428.6 MB, free: 192 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.4095, allocations: 308.2 kB / 428.9 MB, free: 15.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.4095, allocations: 32.61 kB / 429 MB, free: 15.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.4097, allocations: 235.4 kB / 429.2 MB, free: 15.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.4098, allocations: 101.6 kB / 429.3 MB, free: 15.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.4099, allocations: 94.98 kB / 429.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003107/0.4102, allocations: 0.5216 MB / 429.9 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.4104, allocations: 80.62 kB / 430 MB, free: 14.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.4107, allocations: 237.4 kB / 430.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.4112, allocations: 349.2 kB / 430.5 MB, free: 14.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4112, allocations: 0 / 430.5 MB, free: 14.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006529/0.4118, allocations: 407.4 kB / 430.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.4118, allocations: 5.438 kB / 430.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.4119, allocations: 9.469 kB / 431 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002218/0.4121, allocations: 63.25 kB / 431 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.4125, allocations: 85.64 kB / 431.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.4147, allocations: 2.613 MB / 433.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.4149, allocations: 9.594 kB / 433.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.355e-05/0.415, allocations: 30.59 kB / 433.8 MB, free: 11.57 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.0002396/0.4152, allocations: 194.7 kB / 433.9 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.609e-05/0.4153, allocations: 35.77 kB / 434 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000855/0.4162, allocations: 421 kB / 434.4 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4162, allocations: 3 kB / 434.4 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.4162, allocations: 0 / 434.4 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006238/0.4168, allocations: 0.5559 MB / 435 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.4179, allocations: 0.6977 MB / 435.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.4179, allocations: 2.656 kB / 435.7 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.4182, allocations: 61.86 kB / 435.7 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.943e-05/0.4183, allocations: 26.64 kB / 435.7 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.4183, allocations: 13.84 kB / 435.8 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.4198, allocations: 1.787 MB / 437.5 MB, free: 8.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4198, allocations: 0 / 437.5 MB, free: 8.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007757/0.4206, allocations: 0.5076 MB / 438 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.4206, allocations: 28.31 kB / 438.1 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.4207, allocations: 3.062 kB / 438.1 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.4209, allocations: 6.344 kB / 438.1 MB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-05/0.421, allocations: 31.58 kB / 438.1 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.421, allocations: 29.39 kB / 438.1 MB, free: 7.746 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000221/0.4212, allocations: 209.5 kB / 438.3 MB, free: 7.586 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4212, allocations: 0 / 438.3 MB, free: 7.586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000525/0.4218, allocations: 125.7 kB / 438.5 MB, free: 7.566 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.0004092/0.4222, allocations: 151.5 kB / 438.6 MB, free: 7.449 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007742/0.4229, allocations: 430.8 kB / 439 MB, free: 7.168 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4229, allocations: 3.938 kB / 439 MB, free: 7.164 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.4233, allocations: 293.5 kB / 439.3 MB, free: 6.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008672/0.4242, allocations: 154.6 kB / 439.5 MB, free: 6.848 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.4255, allocations: 0.6105 MB / 440.1 MB, free: 6.277 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.4257, allocations: 155.2 kB / 440.2 MB, free: 6.105 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003884/0.426, allocations: 98.92 kB / 440.3 MB, free: 6.008 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.4262, allocations: 52.48 kB / 440.4 MB, free: 5.957 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4262, allocations: 0 / 440.4 MB, free: 5.957 MB / 346.7 MB Notification: Performance of Templates: time 0.01706/0.4433, allocations: 7.756 MB / 448.1 MB, free: 14.26 MB / 362.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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: 5.216392006026581]