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.001507/0.001507, allocations: 105.7 kB / 21.96 MB, free: 4.699 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.001594/0.001594, allocations: 218 kB / 25.26 MB, free: 2.875 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.314/1.314, allocations: 207.7 MB / 236.1 MB, free: 9.805 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: "" <> 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.001774/0.001774, allocations: 47.92 kB / 348 MB, free: 9.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2244, allocations: 49.15 MB / 397.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1492/0.3736, allocations: 131.3 MB / 0.516 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3746, allocations: 0.5537 MB / 0.5166 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.102e-05/0.3747, allocations: 0 / 0.5166 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.375, allocations: 55.67 kB / 0.5166 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.3754, allocations: 162.9 kB / 0.5168 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003264/0.3787, allocations: 1.093 MB / 0.5178 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004368/0.3791, allocations: 330.8 kB / 0.5182 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.3792, allocations: 9.625 kB / 0.5182 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002969/0.3795, allocations: 163.4 kB / 0.5183 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.3797, allocations: 127.6 kB / 0.5184 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.3798, allocations: 12 kB / 0.5185 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.3822, allocations: 1.396 MB / 0.5198 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.3823, allocations: 75.83 kB / 0.5199 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.3824, allocations: 83.66 kB / 0.52 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.3841, allocations: 0.9601 MB / 0.5209 GB, free: 10.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3841, allocations: 0 / 0.5209 GB, free: 10.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3841, allocations: 0 / 0.5209 GB, free: 10.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.3841, allocations: 0 / 0.5209 GB, free: 10.36 MB / 446.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.001924/0.3861, allocations: 0.6097 MB / 0.5215 GB, free: 9.719 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3861, allocations: 15.98 kB / 0.5215 GB, free: 9.703 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.908e-05/0.3861, allocations: 4.516 kB / 0.5215 GB, free: 9.699 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.5e-05/0.3862, allocations: 50.73 kB / 0.5216 GB, free: 9.641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.3863, allocations: 24.83 kB / 0.5216 GB, free: 9.617 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.3866, allocations: 169.5 kB / 0.5218 GB, free: 9.426 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.3866, allocations: 8.328 kB / 0.5218 GB, free: 9.418 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/0.3867, allocations: 16 kB / 0.5218 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006567/0.3873, allocations: 364.2 kB / 0.5221 GB, free: 9.012 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.3874, allocations: 3.953 kB / 0.5221 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.3874, allocations: 8 kB / 0.5221 GB, free: 9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.3874, allocations: 12 kB / 0.5222 GB, free: 8.988 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000639/0.388, allocations: 259.8 kB / 0.5224 GB, free: 8.734 MB / 446.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.001453/0.3895, allocations: 0.6546 MB / 0.523 GB, free: 8.027 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006246/0.3901, allocations: 210.4 kB / 0.5232 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.3904, allocations: 125.6 kB / 0.5234 GB, free: 7.676 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002005/0.3906, allocations: 47.95 kB / 0.5234 GB, free: 7.629 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.3907, allocations: 38.56 kB / 0.5234 GB, free: 7.582 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.723e-06/0.3907, allocations: 0 / 0.5234 GB, free: 7.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.002477/0.3931, allocations: 0.6852 MB / 0.5241 GB, free: 6.891 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.3932, allocations: 85.11 kB / 0.5242 GB, free: 6.789 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.3933, allocations: 125.8 kB / 0.5243 GB, free: 6.656 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.3933, allocations: 29.7 kB / 0.5243 GB, free: 6.621 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.342e-05/0.3934, allocations: 104.9 kB / 0.5244 GB, free: 6.512 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.3935, allocations: 134.8 kB / 0.5246 GB, free: 6.379 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.3937, allocations: 73.64 kB / 0.5246 GB, free: 6.301 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3938, allocations: 322.8 kB / 0.5249 GB, free: 5.977 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.3942, allocations: 139.8 kB / 0.5251 GB, free: 5.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004128/0.3946, allocations: 199.6 kB / 0.5253 GB, free: 5.617 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008073/0.3954, allocations: 363.4 kB / 0.5256 GB, free: 5.234 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3954, allocations: 0 / 0.5256 GB, free: 5.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009386/0.3964, allocations: 413.3 kB / 0.526 GB, free: 4.824 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3964, allocations: 4 kB / 0.526 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.3964, allocations: 4 kB / 0.526 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3964, allocations: 4 kB / 0.526 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/0.3969, allocations: 87.88 kB / 0.5261 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.397, allocations: 4 kB / 0.5261 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/0.3973, allocations: 35.8 kB / 0.5261 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.3973, allocations: 24.09 kB / 0.5262 GB, free: 4.664 MB / 446.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.0001614/0.3975, allocations: 145.7 kB / 0.5263 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.683e-05/0.3975, allocations: 15.91 kB / 0.5263 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003772/0.3979, allocations: 178.6 kB / 0.5265 GB, free: 4.312 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.3979, allocations: 8 kB / 0.5265 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3979, allocations: 0 / 0.5265 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3979, allocations: 3.938 kB / 0.5265 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.3996, allocations: 0.7043 MB / 0.5272 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.3996, allocations: 0 / 0.5272 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004325/0.4, allocations: 71.89 kB / 0.5273 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.4, allocations: 4 kB / 0.5273 GB, free: 3.457 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.4001, allocations: 15.98 kB / 0.5273 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.4001, allocations: 4.156 kB / 0.5273 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4001, allocations: 8 kB / 0.5273 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.4015, allocations: 0.71 MB / 0.528 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.4016, allocations: 39.91 kB / 0.528 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.4016, allocations: 8 kB / 0.528 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003541/0.402, allocations: 19.97 kB / 0.5281 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.402, allocations: 31.89 kB / 0.5281 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.4021, allocations: 12 kB / 0.5281 GB, free: 2.578 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.18e-05/0.4021, allocations: 99.58 kB / 0.5282 GB, free: 2.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4021, allocations: 0 / 0.5282 GB, free: 2.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000561/0.4027, allocations: 147.7 kB / 0.5283 GB, free: 2.336 MB / 446.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.002074/0.4048, allocations: 1.383 MB / 0.5297 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008774/0.4057, allocations: 320 kB / 0.53 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4057, allocations: 4 kB / 0.53 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004011/0.4061, allocations: 167.7 kB / 0.5301 GB, free: 440 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006804/0.4067, allocations: 104.4 kB / 0.5302 GB, free: 336 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004679/0.4114, allocations: 2.832 MB / 0.533 GB, free: 13.33 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.4115, allocations: 128.7 kB / 0.5331 GB, free: 13.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003243/0.4119, allocations: 74.05 kB / 0.5332 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.412, allocations: 63.41 kB / 0.5333 GB, free: 13.04 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.412, allocations: 4 kB / 0.5333 GB, free: 13.04 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/0.4463, allocations: 8.975 MB / 0.542 GB, free: 4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.5, allocations: 11.97 kB / 0.542 GB, free: 3.988 MB / 462.1 MB " [Timeout remaining time 648] (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: 13.93339563102927]