Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 190.8 kB / 24.49 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 225.7 MB / 253.3 MB, free: 12.88 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 47.92 kB / 371.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2455, allocations: 52.19 MB / 423.3 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3895/0.635, allocations: 130.2 MB / 0.5405 GB, free: 1.328 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.6365, allocations: 1.428 MB / 0.5419 GB, free: 1.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.868e-05/0.6366, allocations: 0 / 0.5419 GB, free: 1.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.6369, allocations: 59.62 kB / 0.542 GB, free: 1.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.6372, allocations: 154.5 kB / 0.5421 GB, free: 1.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002294/0.6395, allocations: 1.039 MB / 0.5432 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.6399, allocations: 330.3 kB / 0.5435 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.6399, allocations: 8.469 kB / 0.5435 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.6401, allocations: 160.3 kB / 0.5436 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.6403, allocations: 131.5 kB / 0.5438 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.6403, allocations: 12.38 kB / 0.5438 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.642, allocations: 1.371 MB / 0.5451 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.151e-05/0.6421, allocations: 69.19 kB / 0.5452 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.004e-05/0.6421, allocations: 86.92 kB / 0.5453 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.6432, allocations: 0.9451 MB / 0.5462 GB, free: 1.211 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6432, allocations: 3.406 kB / 0.5462 GB, free: 1.211 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6432, allocations: 0 / 0.5462 GB, free: 1.211 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.6432, allocations: 0 / 0.5462 GB, free: 1.211 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.001563/0.6447, allocations: 0.6037 MB / 0.5468 GB, free: 16.83 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.6448, allocations: 12.59 kB / 0.5468 GB, free: 16.83 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.551e-05/0.6448, allocations: 2.922 kB / 0.5468 GB, free: 16.83 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.258e-05/0.6448, allocations: 50.86 kB / 0.5468 GB, free: 16.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.645, allocations: 22.86 kB / 0.5469 GB, free: 16.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.6452, allocations: 159.9 kB / 0.547 GB, free: 16.64 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.6452, allocations: 16.17 kB / 0.547 GB, free: 16.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.6452, allocations: 15.97 kB / 0.547 GB, free: 16.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005358/0.6457, allocations: 364.8 kB / 0.5474 GB, free: 16.47 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.6458, allocations: 6.906 kB / 0.5474 GB, free: 16.47 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.6458, allocations: 8.281 kB / 0.5474 GB, free: 16.47 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.6458, allocations: 10.81 kB / 0.5474 GB, free: 16.47 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005205/0.6463, allocations: 263.7 kB / 0.5477 GB, free: 16.47 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.001219/0.6475, allocations: 0.6565 MB / 0.5483 GB, free: 16.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/0.6481, allocations: 209.5 kB / 0.5485 GB, free: 16.04 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.6483, allocations: 132 kB / 0.5486 GB, free: 16.03 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/0.6485, allocations: 45.62 kB / 0.5487 GB, free: 16.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.6485, allocations: 41.91 kB / 0.5487 GB, free: 15.99 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 2.033e-06/0.6485, allocations: 2.047 kB / 0.5487 GB, free: 15.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002123/0.6506, allocations: 0.6708 MB / 0.5494 GB, free: 15.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.6507, allocations: 82.48 kB / 0.5495 GB, free: 15.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.698e-05/0.6508, allocations: 119.5 kB / 0.5496 GB, free: 15.72 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.6508, allocations: 36.81 kB / 0.5496 GB, free: 15.69 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.6509, allocations: 108.3 kB / 0.5497 GB, free: 15.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/0.6509, allocations: 133.1 kB / 0.5498 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-05/0.651, allocations: 62.94 kB / 0.5499 GB, free: 15.49 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6512, allocations: 327 kB / 0.5502 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.6515, allocations: 141.5 kB / 0.5503 GB, free: 15.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/0.6518, allocations: 212 kB / 0.5505 GB, free: 15.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006293/0.6525, allocations: 356.5 kB / 0.5509 GB, free: 15.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6525, allocations: 0 / 0.5509 GB, free: 15.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007835/0.6532, allocations: 413.8 kB / 0.5513 GB, free: 14.96 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.6533, allocations: 5.156 kB / 0.5513 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.6533, allocations: 3.828 kB / 0.5513 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.6533, allocations: 10.56 kB / 0.5513 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.6537, allocations: 86.64 kB / 0.5514 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.6537, allocations: 7.531 kB / 0.5514 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.654, allocations: 34.77 kB / 0.5514 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.654, allocations: 15.47 kB / 0.5514 GB, free: 14.95 MB / 462.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.0001334/0.6542, allocations: 143 kB / 0.5516 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.987e-05/0.6542, allocations: 17.03 kB / 0.5516 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.6546, allocations: 175.8 kB / 0.5518 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.6546, allocations: 3.094 kB / 0.5518 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6546, allocations: 4 kB / 0.5518 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.6546, allocations: 11.55 kB / 0.5518 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.656, allocations: 0.6941 MB / 0.5525 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.656, allocations: 4.781 kB / 0.5525 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/0.6564, allocations: 79.81 kB / 0.5525 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.6564, allocations: 2.188 kB / 0.5525 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.6564, allocations: 18.56 kB / 0.5526 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.6564, allocations: 0 / 0.5526 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6564, allocations: 5.688 kB / 0.5526 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.6576, allocations: 0.7047 MB / 0.5532 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-05/0.6576, allocations: 49.17 kB / 0.5533 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.6577, allocations: 13.03 kB / 0.5533 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.658, allocations: 25.52 kB / 0.5533 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.6581, allocations: 26.05 kB / 0.5534 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.6581, allocations: 13.2 kB / 0.5534 GB, free: 14.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.188e-05/0.6581, allocations: 95.12 kB / 0.5535 GB, free: 14.08 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6581, allocations: 4.203 kB / 0.5535 GB, free: 14.08 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005548/0.6587, allocations: 143.9 kB / 0.5536 GB, free: 14.06 MB / 462.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.001773/0.6605, allocations: 1.372 MB / 0.5549 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007441/0.6612, allocations: 324.7 kB / 0.5552 GB, free: 13.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6612, allocations: 3.625 kB / 0.5553 GB, free: 13.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003424/0.6616, allocations: 170.2 kB / 0.5554 GB, free: 13.22 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006828/0.6622, allocations: 108.6 kB / 0.5555 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004129/0.6664, allocations: 2.815 MB / 0.5583 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.6665, allocations: 125.7 kB / 0.5584 GB, free: 11.47 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003304/0.6668, allocations: 85.08 kB / 0.5585 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.667, allocations: 63.67 kB / 0.5585 GB, free: 11.42 MB / 462.1 MB Notification: Performance of SimCode: time 4.61e-07/0.667, allocations: 0 / 0.5585 GB, free: 11.42 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.6962, allocations: 8.774 MB / 0.5671 GB, free: 10.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.77, allocations: 4.812 kB / 0.5671 GB, free: 10.4 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 14.192368015064858]