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.001358/0.001358, allocations: 114.6 kB / 19.17 MB, free: 3.891 MB / 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.001355/0.001355, allocations: 207.8 kB / 22.12 MB, free: 0.9492 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.403/1.403, allocations: 207.6 MB / 232.5 MB, free: 3.949 MB / 174.1 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: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [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.00168/0.00168, allocations: 51.92 kB / 343 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09739/0.09907, allocations: 49.13 MB / 392.1 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3773/0.4764, allocations: 153.2 MB / 0.5325 GB, free: 9.379 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008946/0.4773, allocations: 0.594 MB / 0.5331 GB, free: 8.793 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.451e-05/0.4773, allocations: 3.938 kB / 0.5331 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003521/0.4777, allocations: 60.7 kB / 0.5331 GB, free: 8.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.478, allocations: 168.7 kB / 0.5333 GB, free: 8.574 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002846/0.4809, allocations: 1.089 MB / 0.5344 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004138/0.4813, allocations: 334.8 kB / 0.5347 GB, free: 7.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.4813, allocations: 9.297 kB / 0.5347 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.4816, allocations: 155.5 kB / 0.5348 GB, free: 7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.4818, allocations: 123.6 kB / 0.535 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.4819, allocations: 12 kB / 0.535 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.4844, allocations: 1.661 MB / 0.5366 GB, free: 5.203 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.4845, allocations: 71.77 kB / 0.5367 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.4846, allocations: 91.66 kB / 0.5367 GB, free: 5.043 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.486, allocations: 1.007 MB / 0.5377 GB, free: 4.035 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.486, allocations: 4 kB / 0.5377 GB, free: 4.031 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.486, allocations: 0 / 0.5377 GB, free: 4.031 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.486, allocations: 0 / 0.5377 GB, free: 4.031 MB / 414.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.0018/0.4878, allocations: 0.6889 MB / 0.5384 GB, free: 3.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4878, allocations: 8.031 kB / 0.5384 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.997e-05/0.4878, allocations: 4.516 kB / 0.5384 GB, free: 3.281 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.529e-05/0.4879, allocations: 50.73 kB / 0.5385 GB, free: 3.223 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.488, allocations: 20.83 kB / 0.5385 GB, free: 3.203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.4883, allocations: 219.5 kB / 0.5387 GB, free: 2.949 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.4883, allocations: 12.33 kB / 0.5387 GB, free: 2.938 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.4884, allocations: 16 kB / 0.5387 GB, free: 2.922 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.489, allocations: 265.4 kB / 0.539 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.489, allocations: 0 / 0.539 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.489, allocations: 4 kB / 0.539 GB, free: 2.648 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.489, allocations: 8 kB / 0.539 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006647/0.4897, allocations: 263.8 kB / 0.5392 GB, free: 2.383 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.0015/0.4912, allocations: 0.8015 MB / 0.54 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006412/0.4918, allocations: 205.1 kB / 0.5402 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/0.4922, allocations: 137.6 kB / 0.5403 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003599/0.4925, allocations: 352.4 kB / 0.5407 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.4926, allocations: 45.05 kB / 0.5407 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.352e-06/0.4926, allocations: 0 / 0.5407 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002479/0.495, allocations: 0.6707 MB / 0.5414 GB, free: 0 / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.4951, allocations: 85.09 kB / 0.5415 GB, free: 15.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.4952, allocations: 124.5 kB / 0.5416 GB, free: 15.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.4953, allocations: 33.7 kB / 0.5416 GB, free: 15.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.4953, allocations: 108.9 kB / 0.5417 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.4954, allocations: 126.9 kB / 0.5418 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.4956, allocations: 73.64 kB / 0.5419 GB, free: 15.42 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4957, allocations: 326.8 kB / 0.5422 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.4961, allocations: 131.9 kB / 0.5423 GB, free: 14.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/0.4965, allocations: 215.5 kB / 0.5425 GB, free: 14.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008469/0.4974, allocations: 351.4 kB / 0.5429 GB, free: 14.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.4974, allocations: 4 kB / 0.5429 GB, free: 14.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009946/0.4984, allocations: 409.5 kB / 0.5433 GB, free: 13.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.4984, allocations: 8.031 kB / 0.5433 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4984, allocations: 4 kB / 0.5433 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.4984, allocations: 4 kB / 0.5433 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004768/0.4989, allocations: 91.86 kB / 0.5434 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.4989, allocations: 4 kB / 0.5434 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.4992, allocations: 19.92 kB / 0.5434 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.4992, allocations: 23.92 kB / 0.5434 GB, free: 13.79 MB / 430.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.0001538/0.4994, allocations: 145.7 kB / 0.5436 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.799e-05/0.4995, allocations: 15.91 kB / 0.5436 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003693/0.4998, allocations: 179.2 kB / 0.5438 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.4999, allocations: 4 kB / 0.5438 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4999, allocations: 0 / 0.5438 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4999, allocations: 3.984 kB / 0.5438 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.5016, allocations: 0.7675 MB / 0.5445 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.5016, allocations: 0 / 0.5445 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/0.502, allocations: 92.34 kB / 0.5446 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.502, allocations: 0.6875 kB / 0.5446 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.502, allocations: 12 kB / 0.5446 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.502, allocations: 0 / 0.5446 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5021, allocations: 7.938 kB / 0.5446 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.5035, allocations: 0.7074 MB / 0.5453 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.5036, allocations: 117 kB / 0.5454 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.5036, allocations: 11.62 kB / 0.5454 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.504, allocations: 23.98 kB / 0.5455 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.504, allocations: 19.97 kB / 0.5455 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.5041, allocations: 23.98 kB / 0.5455 GB, free: 11.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.337e-05/0.5041, allocations: 95.27 kB / 0.5456 GB, free: 11.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5041, allocations: 0 / 0.5456 GB, free: 11.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005819/0.5047, allocations: 147.7 kB / 0.5457 GB, free: 11.3 MB / 430.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.002111/0.5068, allocations: 1.372 MB / 0.5471 GB, free: 9.887 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000921/0.5078, allocations: 332.6 kB / 0.5474 GB, free: 9.562 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5078, allocations: 0 / 0.5474 GB, free: 9.562 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004223/0.5082, allocations: 171.6 kB / 0.5475 GB, free: 9.395 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006857/0.5089, allocations: 101.7 kB / 0.5476 GB, free: 9.301 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004712/0.5136, allocations: 2.836 MB / 0.5504 GB, free: 6.297 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.5139, allocations: 0.7371 MB / 0.5511 GB, free: 5.535 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003156/0.5143, allocations: 77.89 kB / 0.5512 GB, free: 5.457 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.5144, allocations: 63.41 kB / 0.5513 GB, free: 5.395 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5144, allocations: 0 / 0.5513 GB, free: 5.395 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04091/0.5553, allocations: 8.312 MB / 0.5594 GB, free: 13.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/8.732, allocations: 11.94 kB / 0.5594 GB, free: 13.02 MB / 446.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] 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: 11.18437798001105]