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.00142/0.00142, allocations: 84.53 kB / 21.44 MB, free: 296 kB / 14.72 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.001482/0.001482, allocations: 161.5 kB / 24.7 MB, free: 3.551 MB / 14.72 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.355/1.355, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 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.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.844e-06/1.844e-06, allocations: 0 / 299 MB, free: 8.68 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.343e-05, allocations: 2.281 kB / 299 MB, free: 8.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.3773/0.3773, allocations: 149.4 MB / 448.4 MB, free: 8.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004775/0.3821, allocations: 2.937 MB / 451.3 MB, free: 5.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004637/0.3825, allocations: 7.938 kB / 451.3 MB, free: 5.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008481/0.3834, allocations: 178.8 kB / 451.5 MB, free: 5.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.3847, allocations: 417.3 kB / 451.9 MB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.3859, allocations: 364.1 kB / 452.3 MB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.3872, allocations: 0.9026 MB / 453.2 MB, free: 3.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002562/0.3875, allocations: 67.05 kB / 453.2 MB, free: 3.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002954/0.3905, allocations: 0.943 MB / 454.2 MB, free: 2.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006618/0.3911, allocations: 251.2 kB / 454.4 MB, free: 2.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.479e-05/0.3912, allocations: 28 kB / 454.4 MB, free: 2.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000361/0.3916, allocations: 127.7 kB / 454.6 MB, free: 2.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.3917, allocations: 99.7 kB / 454.7 MB, free: 1.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.3919, allocations: 139.8 kB / 454.8 MB, free: 1.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007962/0.3927, allocations: 0.5415 MB / 455.3 MB, free: 1.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3927, allocations: 0 / 455.3 MB, free: 1.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3927, allocations: 0 / 455.3 MB, free: 1.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.3927, allocations: 0 / 455.3 MB, free: 1.25 MB / 398.1 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.001059/0.3938, allocations: 0.525 MB / 455.9 MB, free: 0.6953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.927e-05/0.3939, allocations: 15.98 kB / 455.9 MB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003541/0.3942, allocations: 39.81 kB / 455.9 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000553/0.3948, allocations: 229.2 kB / 456.1 MB, free: 400 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.3948, allocations: 20.5 kB / 456.2 MB, free: 380 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/0.3949, allocations: 27.94 kB / 456.2 MB, free: 352 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007814/0.3956, allocations: 0.5336 MB / 456.7 MB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.3957, allocations: 3.938 kB / 456.7 MB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.3957, allocations: 12 kB / 456.7 MB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.3957, allocations: 15.88 kB / 456.8 MB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.3961, allocations: 201.8 kB / 456.9 MB, free: 15.5 MB / 414.1 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.001967/0.3981, allocations: 1.153 MB / 458.1 MB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.3984, allocations: 155.7 kB / 458.3 MB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.3986, allocations: 88.83 kB / 458.3 MB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.3986, allocations: 7.984 kB / 458.3 MB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.3987, allocations: 46.81 kB / 458.4 MB, free: 13.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.3987, allocations: 0 / 458.4 MB, free: 13.98 MB / 414.1 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.005871/0.4045, allocations: 1.31 MB / 459.7 MB, free: 12.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.4046, allocations: 51.41 kB / 459.8 MB, free: 12.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.4049, allocations: 236 kB / 460 MB, free: 12.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.4049, allocations: 33.7 kB / 460 MB, free: 12.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.4051, allocations: 184.4 kB / 460.2 MB, free: 12.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.4052, allocations: 95.17 kB / 460.3 MB, free: 11.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.4053, allocations: 81.69 kB / 460.4 MB, free: 11.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.4055, allocations: 334.8 kB / 460.7 MB, free: 11.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.4057, allocations: 83.97 kB / 460.8 MB, free: 11.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.406, allocations: 187.8 kB / 461 MB, free: 11.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.4065, allocations: 303.8 kB / 461.3 MB, free: 10.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4065, allocations: 0 / 461.3 MB, free: 10.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007231/0.4072, allocations: 402.7 kB / 461.7 MB, free: 10.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4072, allocations: 8 kB / 461.7 MB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.4072, allocations: 4.406 kB / 461.7 MB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002619/0.4075, allocations: 77.62 kB / 461.7 MB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.4078, allocations: 83.89 kB / 461.8 MB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.4096, allocations: 1.833 MB / 463.7 MB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.4098, allocations: 12.25 kB / 463.7 MB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.4099, allocations: 37.25 kB / 463.7 MB, free: 8.336 MB / 414.1 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.0002156/0.4101, allocations: 161.7 kB / 463.9 MB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.562e-05/0.4102, allocations: 27.8 kB / 463.9 MB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009221/0.4111, allocations: 440.2 kB / 464.3 MB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4111, allocations: 4 kB / 464.3 MB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.4111, allocations: 4 kB / 464.3 MB, free: 7.688 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007028/0.4118, allocations: 0.5635 MB / 464.9 MB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.413, allocations: 0.6295 MB / 465.5 MB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.413, allocations: 0 / 465.5 MB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/0.4133, allocations: 67.89 kB / 465.6 MB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.804e-05/0.4134, allocations: 24.84 kB / 465.6 MB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.4134, allocations: 15.94 kB / 465.6 MB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.4145, allocations: 1.258 MB / 466.9 MB, free: 4.891 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4145, allocations: 0 / 466.9 MB, free: 4.891 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007459/0.4153, allocations: 482.5 kB / 467.4 MB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.4153, allocations: 15.86 kB / 467.4 MB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/0.4154, allocations: 15.92 kB / 467.4 MB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.4156, allocations: 8 kB / 467.4 MB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/0.4156, allocations: 32.17 kB / 467.4 MB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/0.4157, allocations: 31.92 kB / 467.5 MB, free: 4.293 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001883/0.4159, allocations: 169.2 kB / 467.6 MB, free: 4.129 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4159, allocations: 0 / 467.6 MB, free: 4.129 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006132/0.4165, allocations: 123.9 kB / 467.7 MB, free: 4.008 MB / 414.1 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 (26): * Single equations (assignments): 25 * 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.000525/0.417, allocations: 151 kB / 467.9 MB, free: 3.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007894/0.4178, allocations: 358.4 kB / 468.2 MB, free: 3.488 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4178, allocations: 3.938 kB / 468.2 MB, free: 3.484 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.4182, allocations: 219.5 kB / 468.5 MB, free: 3.258 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008663/0.419, allocations: 133.3 kB / 468.6 MB, free: 3.133 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.4202, allocations: 0.6214 MB / 469.2 MB, free: 2.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.4205, allocations: 158.9 kB / 469.4 MB, free: 2.305 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003996/0.4209, allocations: 110.9 kB / 469.5 MB, free: 2.191 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.4211, allocations: 68.47 kB / 469.5 MB, free: 2.125 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4211, allocations: 0 / 469.5 MB, free: 2.125 MB / 414.1 MB Notification: Performance of Templates: time 0.0159/0.437, allocations: 7.955 MB / 477.5 MB, free: 10.16 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.0627795197069645]