Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001237/0.001237, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001392/0.001392, allocations: 205.8 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.371/1.371, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 51.91 kB / 377.7 MB, free: 3.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2269, allocations: 53.37 MB / 431.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3744/0.6013, allocations: 133.3 MB / 0.5511 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.6027, allocations: 1.432 MB / 0.5525 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.515e-05/0.6028, allocations: 2.984 kB / 0.5525 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.6031, allocations: 62.31 kB / 0.5526 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.6034, allocations: 167.5 kB / 0.5527 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.6057, allocations: 1.056 MB / 0.5538 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.6061, allocations: 352.2 kB / 0.5541 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.6062, allocations: 14 kB / 0.5541 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.6064, allocations: 164.1 kB / 0.5543 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.6067, allocations: 146.6 kB / 0.5544 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.6067, allocations: 11.81 kB / 0.5544 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.6087, allocations: 1.409 MB / 0.5558 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.116e-05/0.6088, allocations: 72.09 kB / 0.5559 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.6089, allocations: 93.16 kB / 0.5559 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.6101, allocations: 0.9923 MB / 0.5569 GB, free: 15.64 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6101, allocations: 0 / 0.5569 GB, free: 15.64 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.6101, allocations: 0 / 0.5569 GB, free: 15.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.6101, allocations: 0 / 0.5569 GB, free: 15.64 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.001765/0.6119, allocations: 0.6391 MB / 0.5575 GB, free: 15.24 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.6119, allocations: 12 kB / 0.5576 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.444e-05/0.612, allocations: 55.02 kB / 0.5576 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.6121, allocations: 19.5 kB / 0.5576 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.6123, allocations: 163.9 kB / 0.5578 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.6124, allocations: 8.578 kB / 0.5578 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.6124, allocations: 25.09 kB / 0.5578 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005569/0.613, allocations: 363.8 kB / 0.5582 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.613, allocations: 4.906 kB / 0.5582 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.613, allocations: 7.312 kB / 0.5582 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.613, allocations: 8.5 kB / 0.5582 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005507/0.6136, allocations: 263.4 kB / 0.5584 GB, free: 14.87 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.001299/0.6149, allocations: 0.6502 MB / 0.5591 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000569/0.6154, allocations: 217.8 kB / 0.5593 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.6157, allocations: 125.1 kB / 0.5594 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/0.6159, allocations: 52.84 kB / 0.5594 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.6159, allocations: 39.31 kB / 0.5595 GB, free: 14.39 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.392e-06/0.6159, allocations: 4 kB / 0.5595 GB, free: 14.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002198/0.6181, allocations: 0.6799 MB / 0.5601 GB, free: 14.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/0.6182, allocations: 82.64 kB / 0.5602 GB, free: 14.21 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.6183, allocations: 144.4 kB / 0.5604 GB, free: 14.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.6183, allocations: 35.17 kB / 0.5604 GB, free: 14.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.6184, allocations: 112.3 kB / 0.5605 GB, free: 13.97 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.766e-05/0.6185, allocations: 133.4 kB / 0.5606 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.6186, allocations: 71.34 kB / 0.5607 GB, free: 13.86 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6187, allocations: 328.6 kB / 0.561 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.6191, allocations: 137.5 kB / 0.5611 GB, free: 13.55 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.6194, allocations: 200.3 kB / 0.5613 GB, free: 13.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006681/0.6201, allocations: 372.4 kB / 0.5617 GB, free: 13.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6201, allocations: 3.938 kB / 0.5617 GB, free: 13.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008099/0.6209, allocations: 409.7 kB / 0.5621 GB, free: 13.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.6209, allocations: 5.062 kB / 0.5621 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6209, allocations: 3.594 kB / 0.5621 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.6209, allocations: 5.328 kB / 0.5621 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/0.6214, allocations: 87.38 kB / 0.5622 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.6214, allocations: 5.422 kB / 0.5622 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.6217, allocations: 36.8 kB / 0.5622 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.6217, allocations: 21.33 kB / 0.5622 GB, free: 13.32 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.0001462/0.6219, allocations: 138.3 kB / 0.5624 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.867e-05/0.622, allocations: 22.61 kB / 0.5624 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/0.6223, allocations: 185.5 kB / 0.5626 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.6223, allocations: 2.719 kB / 0.5626 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.6223, allocations: 0.6875 kB / 0.5626 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.6223, allocations: 10.52 kB / 0.5626 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.6239, allocations: 0.7065 MB / 0.5633 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.6239, allocations: 3.625 kB / 0.5633 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004309/0.6244, allocations: 82.23 kB / 0.5634 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.6244, allocations: 2.75 kB / 0.5634 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.6244, allocations: 8.188 kB / 0.5634 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.6244, allocations: 10.14 kB / 0.5634 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6244, allocations: 3.5 kB / 0.5634 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.6257, allocations: 0.7195 MB / 0.5641 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.6258, allocations: 47.09 kB / 0.5641 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.6258, allocations: 8.562 kB / 0.5641 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.6262, allocations: 21.5 kB / 0.5642 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.6262, allocations: 28.05 kB / 0.5642 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.6263, allocations: 13.39 kB / 0.5642 GB, free: 12.53 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.047e-05/0.6263, allocations: 109.2 kB / 0.5643 GB, free: 12.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6263, allocations: 0 / 0.5643 GB, free: 12.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005898/0.6269, allocations: 162.7 kB / 0.5645 GB, free: 12.42 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.001964/0.6289, allocations: 1.392 MB / 0.5658 GB, free: 11.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007847/0.6297, allocations: 328.8 kB / 0.5661 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6297, allocations: 3.281 kB / 0.5661 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.63, allocations: 172.1 kB / 0.5663 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006902/0.6307, allocations: 104.9 kB / 0.5664 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.635, allocations: 2.922 MB / 0.5692 GB, free: 9.891 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.6351, allocations: 136 kB / 0.5694 GB, free: 9.805 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003049/0.6354, allocations: 76.05 kB / 0.5695 GB, free: 9.777 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.6356, allocations: 71.77 kB / 0.5695 GB, free: 9.77 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6356, allocations: 5.203 kB / 0.5695 GB, free: 9.766 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03606/0.6717, allocations: 9.722 MB / 0.579 GB, free: 7.238 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.35, allocations: 4 kB / 0.579 GB, free: 7.234 MB / 462.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_4_1_0_Modelica_Media_Examples_MoistAir.fmu > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 13.648159603995737]