Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MoistAir.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.001783/0.001783, 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.002035/0.002035, allocations: 202.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.444/1.444, allocations: 207.6 MB / 236 MB, free: 9.973 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") [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.003006/0.003006, allocations: 51.92 kB / 348.4 MB, free: 9.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2874, allocations: 49.16 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1858/0.4732, allocations: 153.2 MB / 0.5379 GB, free: 9.609 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.4744, allocations: 0.6042 MB / 0.5385 GB, free: 9.004 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.4745, allocations: 3.938 kB / 0.5385 GB, free: 9 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004306/0.4749, allocations: 55.7 kB / 0.5386 GB, free: 8.945 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005321/0.4755, allocations: 171.1 kB / 0.5387 GB, free: 8.777 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003957/0.4794, allocations: 1.101 MB / 0.5398 GB, free: 7.676 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005198/0.4799, allocations: 322.9 kB / 0.5401 GB, free: 7.359 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.497e-05/0.48, allocations: 9.625 kB / 0.5401 GB, free: 7.352 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003901/0.4804, allocations: 155.5 kB / 0.5403 GB, free: 7.199 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.4807, allocations: 127.6 kB / 0.5404 GB, free: 7.074 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.4807, allocations: 12 kB / 0.5404 GB, free: 7.062 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003538/0.4843, allocations: 1.677 MB / 0.542 GB, free: 5.383 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.4844, allocations: 71.78 kB / 0.5421 GB, free: 5.312 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.4846, allocations: 99.58 kB / 0.5422 GB, free: 5.215 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00263/0.4872, allocations: 1.003 MB / 0.5432 GB, free: 4.215 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4872, allocations: 0 / 0.5432 GB, free: 4.215 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4872, allocations: 0 / 0.5432 GB, free: 4.215 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.4873, allocations: 0 / 0.5432 GB, free: 4.215 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002059/0.4893, allocations: 0.6136 MB / 0.5438 GB, free: 3.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.4894, allocations: 11.98 kB / 0.5438 GB, free: 3.559 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.4895, allocations: 28.83 kB / 0.5438 GB, free: 3.531 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.4899, allocations: 157.9 kB / 0.544 GB, free: 3.352 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.4899, allocations: 8.328 kB / 0.544 GB, free: 3.344 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.4899, allocations: 20 kB / 0.544 GB, free: 3.324 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006204/0.4905, allocations: 257.4 kB / 0.5442 GB, free: 3.062 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.4906, allocations: 7.984 kB / 0.5442 GB, free: 3.055 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.4906, allocations: 8 kB / 0.5442 GB, free: 3.047 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.689e-05/0.4906, allocations: 8 kB / 0.5443 GB, free: 3.039 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000658/0.4913, allocations: 259.8 kB / 0.5445 GB, free: 2.785 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.001629/0.4929, allocations: 0.7572 MB / 0.5452 GB, free: 1.957 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000669/0.4936, allocations: 217.2 kB / 0.5454 GB, free: 1.727 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.4939, allocations: 133.6 kB / 0.5456 GB, free: 1.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.4941, allocations: 47.95 kB / 0.5456 GB, free: 1.543 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.4942, allocations: 34.56 kB / 0.5457 GB, free: 1.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.492e-06/0.4942, allocations: 0 / 0.5457 GB, free: 1.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002583/0.4967, allocations: 0.6729 MB / 0.5463 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.4968, allocations: 81.11 kB / 0.5464 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.4969, allocations: 129.7 kB / 0.5465 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.497, allocations: 29.7 kB / 0.5465 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.912e-05/0.497, allocations: 112.9 kB / 0.5466 GB, free: 444 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.4972, allocations: 130.9 kB / 0.5468 GB, free: 312 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.4973, allocations: 77.58 kB / 0.5468 GB, free: 228 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.4975, allocations: 322.8 kB / 0.5472 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.4979, allocations: 131.9 kB / 0.5473 GB, free: 15.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/0.4983, allocations: 211.6 kB / 0.5475 GB, free: 15.54 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008319/0.4991, allocations: 359.9 kB / 0.5478 GB, free: 15.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4991, allocations: 8 kB / 0.5478 GB, free: 15.15 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001005/0.5002, allocations: 405.3 kB / 0.5482 GB, free: 14.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.5002, allocations: 8 kB / 0.5482 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.5002, allocations: 0 / 0.5482 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.5002, allocations: 7.984 kB / 0.5482 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/0.5007, allocations: 83.89 kB / 0.5483 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/0.5007, allocations: 7.984 kB / 0.5483 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.5011, allocations: 28.14 kB / 0.5483 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/0.5011, allocations: 19.98 kB / 0.5484 GB, free: 14.59 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001891/0.5013, allocations: 145.7 kB / 0.5485 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.312e-05/0.5014, allocations: 15.91 kB / 0.5485 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004031/0.5018, allocations: 179.3 kB / 0.5487 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.5018, allocations: 8 kB / 0.5487 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5018, allocations: 0 / 0.5487 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.5018, allocations: 3.984 kB / 0.5487 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.5038, allocations: 0.7316 MB / 0.5494 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.5038, allocations: 12.09 kB / 0.5494 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.5042, allocations: 79.88 kB / 0.5495 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/0.5042, allocations: 4 kB / 0.5495 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.5043, allocations: 15.92 kB / 0.5495 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.5043, allocations: 4 kB / 0.5495 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5043, allocations: 0 / 0.5495 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.5058, allocations: 0.7104 MB / 0.5502 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.5059, allocations: 47.83 kB / 0.5503 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.5059, allocations: 8 kB / 0.5503 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.5063, allocations: 23.97 kB / 0.5503 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.5064, allocations: 28.02 kB / 0.5503 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.5064, allocations: 12.38 kB / 0.5503 GB, free: 12.46 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.661e-05/0.5065, allocations: 103.1 kB / 0.5504 GB, free: 12.36 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5065, allocations: 0 / 0.5504 GB, free: 12.36 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006638/0.5072, allocations: 147.7 kB / 0.5506 GB, free: 12.21 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (38): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005591/0.5077, allocations: 238.7 kB / 0.5508 GB, free: 11.97 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009513/0.5087, allocations: 327.5 kB / 0.5511 GB, free: 11.65 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5087, allocations: 0 / 0.5511 GB, free: 11.65 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004276/0.5091, allocations: 168.5 kB / 0.5513 GB, free: 11.49 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007139/0.5098, allocations: 100.1 kB / 0.5514 GB, free: 11.39 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.5114, allocations: 0.6427 MB / 0.552 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.5119, allocations: 0.737 MB / 0.5527 GB, free: 9.938 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.512, allocations: 43.42 kB / 0.5528 GB, free: 9.895 MB / 478.1 MB Notification: Performance of SimCode: time 6.72e-07/0.512, allocations: 0 / 0.5528 GB, free: 9.895 MB / 478.1 MB Notification: Performance of Templates: time 0.008747/0.5208, allocations: 4.484 MB / 0.5571 GB, free: 5.398 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.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.001939898123965]