Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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.001314/0.001314, allocations: 120.2 kB / 21.94 MB, free: 8 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.001536/0.001536, allocations: 204.7 kB / 25.23 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.4/1.4, allocations: 207.6 MB / 236 MB, free: 9.969 MB / 190.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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 55.91 kB / 348.4 MB, free: 9.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2875, allocations: 49.16 MB / 397.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.1841/0.4716, allocations: 151.1 MB / 0.5358 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.4732, allocations: 0.9812 MB / 0.5368 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.4733, allocations: 4 kB / 0.5368 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.4736, allocations: 35.73 kB / 0.5368 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009559/0.4746, allocations: 238.7 kB / 0.537 GB, free: 10.53 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.4751, allocations: 123.6 kB / 0.5371 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.4754, allocations: 167.3 kB / 0.5373 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.533e-05/0.4755, allocations: 4 kB / 0.5373 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.4757, allocations: 99.34 kB / 0.5374 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.4759, allocations: 51.83 kB / 0.5375 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.4759, allocations: 4 kB / 0.5375 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000644/0.4765, allocations: 267.7 kB / 0.5377 GB, free: 9.828 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.04e-05/0.4766, allocations: 27.91 kB / 0.5377 GB, free: 9.801 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.656e-05/0.4767, allocations: 43.8 kB / 0.5378 GB, free: 9.758 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006106/0.4773, allocations: 284.7 kB / 0.5381 GB, free: 9.484 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.4773, allocations: 0 / 0.5381 GB, free: 9.484 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4773, allocations: 0 / 0.5381 GB, free: 9.484 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.4773, allocations: 0 / 0.5381 GB, free: 9.484 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006267/0.4779, allocations: 333.8 kB / 0.5384 GB, free: 9.129 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.478, allocations: 11.98 kB / 0.5384 GB, free: 9.117 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.48, allocations: 192.6 kB / 0.5386 GB, free: 8.93 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.4804, allocations: 150.4 kB / 0.5387 GB, free: 8.758 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.4804, allocations: 7.938 kB / 0.5387 GB, free: 8.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-05/0.4805, allocations: 15.95 kB / 0.5387 GB, free: 8.734 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/0.481, allocations: 220 kB / 0.5389 GB, free: 8.504 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.481, allocations: 0 / 0.5389 GB, free: 8.504 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.577e-05/0.4811, allocations: 8 kB / 0.539 GB, free: 8.496 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.4811, allocations: 7.938 kB / 0.539 GB, free: 8.488 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004584/0.4815, allocations: 171.8 kB / 0.5391 GB, free: 8.32 MB / 462.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.001165/0.4827, allocations: 0.5474 MB / 0.5397 GB, free: 7.723 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.4831, allocations: 138.5 kB / 0.5398 GB, free: 7.578 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.4832, allocations: 72.81 kB / 0.5399 GB, free: 7.504 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.4833, allocations: 0 / 0.5399 GB, free: 7.504 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.4833, allocations: 38.56 kB / 0.5399 GB, free: 7.457 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.542e-06/0.4833, allocations: 0 / 0.5399 GB, free: 7.457 MB / 462.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005316/0.4886, allocations: 1.16 MB / 0.541 GB, free: 6.238 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.4887, allocations: 55.41 kB / 0.5411 GB, free: 6.172 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.4888, allocations: 105.8 kB / 0.5412 GB, free: 6.059 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.4888, allocations: 33.7 kB / 0.5412 GB, free: 6.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.4889, allocations: 92.05 kB / 0.5413 GB, free: 5.926 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.157e-05/0.489, allocations: 75.36 kB / 0.5414 GB, free: 5.852 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.616e-05/0.4891, allocations: 49.7 kB / 0.5414 GB, free: 5.797 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4892, allocations: 322.8 kB / 0.5417 GB, free: 5.473 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.4894, allocations: 71.95 kB / 0.5418 GB, free: 5.402 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.4896, allocations: 107.2 kB / 0.5419 GB, free: 5.285 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.4899, allocations: 191.2 kB / 0.5421 GB, free: 5.086 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4899, allocations: 0 / 0.5421 GB, free: 5.086 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005361/0.4905, allocations: 262.3 kB / 0.5423 GB, free: 4.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4905, allocations: 12 kB / 0.5423 GB, free: 4.809 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4905, allocations: 0 / 0.5423 GB, free: 4.809 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002057/0.4907, allocations: 48.83 kB / 0.5424 GB, free: 4.758 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.4911, allocations: 51.91 kB / 0.5424 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004928/0.4915, allocations: 0.564 MB / 0.543 GB, free: 4.117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.4917, allocations: 8.125 kB / 0.543 GB, free: 4.109 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.4918, allocations: 27.98 kB / 0.543 GB, free: 4.082 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.4919, allocations: 125.8 kB / 0.5431 GB, free: 3.949 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.492, allocations: 7.953 kB / 0.5432 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000762/0.4927, allocations: 339 kB / 0.5435 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.4927, allocations: 7.938 kB / 0.5435 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4928, allocations: 7.938 kB / 0.5435 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4928, allocations: 0 / 0.5435 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.4939, allocations: 0.6027 MB / 0.5441 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.4939, allocations: 3.984 kB / 0.5441 GB, free: 2.922 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.4942, allocations: 59.91 kB / 0.5441 GB, free: 2.863 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.687e-05/0.4943, allocations: 24.92 kB / 0.5442 GB, free: 2.836 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.4943, allocations: 12 kB / 0.5442 GB, free: 2.824 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.4955, allocations: 1.267 MB / 0.5454 GB, free: 1.441 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4955, allocations: 0 / 0.5454 GB, free: 1.441 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007219/0.4962, allocations: 430.8 kB / 0.5458 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.4962, allocations: 19.94 kB / 0.5458 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.4962, allocations: 7.984 kB / 0.5459 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.4965, allocations: 8 kB / 0.5459 GB, free: 0.957 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.4965, allocations: 27.91 kB / 0.5459 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.4966, allocations: 23.98 kB / 0.5459 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.059e-05/0.4966, allocations: 95.33 kB / 0.546 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4966, allocations: 0 / 0.546 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004353/0.4971, allocations: 83.88 kB / 0.5461 GB, free: 0.7305 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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.0003766/0.4974, allocations: 151 kB / 0.5462 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005344/0.498, allocations: 195.7 kB / 0.5464 GB, free: 388 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.498, allocations: 0 / 0.5464 GB, free: 388 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003816/0.4984, allocations: 215 kB / 0.5466 GB, free: 160 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.4988, allocations: 48.48 kB / 0.5467 GB, free: 112 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009885/0.4998, allocations: 0.5028 MB / 0.5472 GB, free: 15.56 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.5002, allocations: 0.7047 MB / 0.5478 GB, free: 14.83 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.5004, allocations: 63.39 kB / 0.5479 GB, free: 14.77 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5004, allocations: 0 / 0.5479 GB, free: 14.77 MB / 478.1 MB Notification: Performance of Templates: time 0.00754/0.5079, allocations: 3.807 MB / 0.5516 GB, free: 10.96 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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: 8.188459672033787]