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.006584/0.006584, allocations: 114.1 kB / 21.97 MB, free: 5.227 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.001862/0.001862, allocations: 213.2 kB / 25.28 MB, free: 3.246 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.296/1.296, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.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.001746/0.001746, allocations: 55.94 kB / 348 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2415, allocations: 49.17 MB / 397.1 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1838/0.4253, allocations: 153.2 MB / 0.5374 GB, free: 9.535 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009557/0.4263, allocations: 0.6004 MB / 0.538 GB, free: 8.934 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.431e-05/0.4263, allocations: 3.938 kB / 0.538 GB, free: 8.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.4267, allocations: 63.7 kB / 0.5381 GB, free: 8.867 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004026/0.4271, allocations: 163 kB / 0.5383 GB, free: 8.707 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003344/0.4305, allocations: 1.097 MB / 0.5393 GB, free: 7.609 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004118/0.4309, allocations: 334.8 kB / 0.5396 GB, free: 7.281 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.4309, allocations: 5.641 kB / 0.5396 GB, free: 7.277 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.4312, allocations: 155.5 kB / 0.5398 GB, free: 7.125 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.4314, allocations: 123.6 kB / 0.5399 GB, free: 7.004 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.4315, allocations: 12 kB / 0.5399 GB, free: 6.992 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.4341, allocations: 1.681 MB / 0.5416 GB, free: 5.309 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.4342, allocations: 75.77 kB / 0.5416 GB, free: 5.234 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.4343, allocations: 91.59 kB / 0.5417 GB, free: 5.145 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.4357, allocations: 0.994 MB / 0.5427 GB, free: 4.152 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.4357, allocations: 7.984 kB / 0.5427 GB, free: 4.145 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4357, allocations: 3.938 kB / 0.5427 GB, free: 4.141 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.4357, allocations: 0 / 0.5427 GB, free: 4.141 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.001717/0.4375, allocations: 0.6058 MB / 0.5433 GB, free: 3.504 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.4375, allocations: 11.98 kB / 0.5433 GB, free: 3.492 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.689e-05/0.4375, allocations: 12.45 kB / 0.5433 GB, free: 3.48 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.146e-05/0.4376, allocations: 54.73 kB / 0.5434 GB, free: 3.418 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.4377, allocations: 20.84 kB / 0.5434 GB, free: 3.398 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.438, allocations: 157.5 kB / 0.5435 GB, free: 3.219 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.438, allocations: 12.33 kB / 0.5436 GB, free: 3.207 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/0.438, allocations: 20 kB / 0.5436 GB, free: 3.188 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005955/0.4386, allocations: 261.4 kB / 0.5438 GB, free: 2.922 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4386, allocations: 0 / 0.5438 GB, free: 2.922 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.4387, allocations: 8 kB / 0.5438 GB, free: 2.914 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.4387, allocations: 7.984 kB / 0.5438 GB, free: 2.906 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006446/0.4393, allocations: 263.8 kB / 0.5441 GB, free: 2.648 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.001499/0.4408, allocations: 0.7572 MB / 0.5448 GB, free: 1.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006375/0.4415, allocations: 217.1 kB / 0.545 GB, free: 1.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.4418, allocations: 129.6 kB / 0.5452 GB, free: 1.457 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001877/0.442, allocations: 51.94 kB / 0.5452 GB, free: 1.406 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.442, allocations: 38.56 kB / 0.5453 GB, free: 1.359 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.342e-06/0.442, allocations: 4 kB / 0.5453 GB, free: 1.355 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002376/0.4444, allocations: 0.6734 MB / 0.5459 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.4444, allocations: 81.11 kB / 0.546 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.4446, allocations: 125.8 kB / 0.5461 GB, free: 456 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.4446, allocations: 29.7 kB / 0.5461 GB, free: 420 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/0.4447, allocations: 112.9 kB / 0.5462 GB, free: 300 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.4448, allocations: 126.9 kB / 0.5464 GB, free: 172 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.4449, allocations: 73.59 kB / 0.5464 GB, free: 92 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.4451, allocations: 322.8 kB / 0.5467 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003919/0.4455, allocations: 143.8 kB / 0.5469 GB, free: 15.62 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/0.4459, allocations: 207.6 kB / 0.5471 GB, free: 15.39 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008311/0.4468, allocations: 355.4 kB / 0.5474 GB, free: 15.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4468, allocations: 0 / 0.5474 GB, free: 15.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009843/0.4477, allocations: 413.8 kB / 0.5478 GB, free: 14.61 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.4478, allocations: 4 kB / 0.5478 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4478, allocations: 4 kB / 0.5478 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.4478, allocations: 4 kB / 0.5478 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.4483, allocations: 87.88 kB / 0.5479 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.4483, allocations: 4.219 kB / 0.5479 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.4486, allocations: 35.84 kB / 0.5479 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.4486, allocations: 19.94 kB / 0.548 GB, free: 14.45 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.0002015/0.4488, allocations: 137.8 kB / 0.5481 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/0.4489, allocations: 19.91 kB / 0.5481 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003994/0.4493, allocations: 178.7 kB / 0.5483 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4493, allocations: 4 kB / 0.5483 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.4493, allocations: 4 kB / 0.5483 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.4493, allocations: 3.938 kB / 0.5483 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.451, allocations: 0.7393 MB / 0.549 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.451, allocations: 4 kB / 0.549 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00044/0.4515, allocations: 79.88 kB / 0.5491 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.4515, allocations: 4 kB / 0.5491 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.4515, allocations: 12 kB / 0.5491 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.4515, allocations: 4 kB / 0.5491 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.4515, allocations: 3.984 kB / 0.5491 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.453, allocations: 0.7101 MB / 0.5498 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.4532, allocations: 47.83 kB / 0.5499 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.4532, allocations: 4.375 kB / 0.5499 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.4536, allocations: 28.05 kB / 0.5499 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.4536, allocations: 23.89 kB / 0.5499 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/0.4537, allocations: 19.98 kB / 0.5499 GB, free: 12.32 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.89e-05/0.4537, allocations: 99.2 kB / 0.55 GB, free: 12.22 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4537, allocations: 0 / 0.55 GB, free: 12.22 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006228/0.4544, allocations: 147.6 kB / 0.5502 GB, free: 12.08 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.002304/0.4567, allocations: 1.371 MB / 0.5515 GB, free: 10.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000929/0.4576, allocations: 323.6 kB / 0.5518 GB, free: 10.35 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/0.4576, allocations: 4 kB / 0.5518 GB, free: 10.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004152/0.458, allocations: 168.5 kB / 0.552 GB, free: 10.18 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007067/0.4587, allocations: 104 kB / 0.5521 GB, free: 10.08 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005209/0.4639, allocations: 2.835 MB / 0.5549 GB, free: 7.074 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.4643, allocations: 0.7371 MB / 0.5556 GB, free: 6.309 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003523/0.4647, allocations: 82.03 kB / 0.5556 GB, free: 6.223 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.4648, allocations: 63.41 kB / 0.5557 GB, free: 6.16 MB / 478.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4648, allocations: 0 / 0.5557 GB, free: 6.16 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1773/0.6422, allocations: 8.67 MB / 0.5642 GB, free: 163.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.55, allocations: 3.062 kB / 0.5642 GB, free: 163.8 MB / 478.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.899162464018445]