Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.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.0007978/0.0007978, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008345/0.0008345, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8562/0.8562, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.823e-05, allocations: 6.219 kB / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02027/0.02029, allocations: 24 MB / 348.6 MB, free: 7.688 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.02204, allocations: 2.021 MB / 350.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.99e-05/0.02212, allocations: 0 / 350.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.02246, allocations: 59.61 kB / 350.6 MB, free: 5.602 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.02279, allocations: 174.9 kB / 350.8 MB, free: 5.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01044/0.03323, allocations: 6.581 MB / 357.4 MB, free: 14.85 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000355/0.03359, allocations: 342.5 kB / 357.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.03363, allocations: 9.797 kB / 357.7 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.03384, allocations: 191.5 kB / 357.9 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.034, allocations: 111.7 kB / 358 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.03402, allocations: 12 kB / 358 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0107/0.04472, allocations: 9.019 MB / 367.1 MB, free: 5.168 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.04483, allocations: 75.78 kB / 367.1 MB, free: 5.094 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.04495, allocations: 79.83 kB / 367.2 MB, free: 5.016 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.05515, allocations: 5.89 MB / 373.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.05516, allocations: 4 kB / 373.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.05516, allocations: 4 kB / 373.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.05517, allocations: 0 / 373.1 MB, free: 15.11 MB / 346.7 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.002943/0.05811, allocations: 1.097 MB / 374.2 MB, free: 13.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.05816, allocations: 8.031 kB / 374.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.406e-05/0.05821, allocations: 54.73 kB / 374.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.05836, allocations: 28.02 kB / 374.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.0586, allocations: 168.9 kB / 374.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.05862, allocations: 12.33 kB / 374.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.05866, allocations: 19.95 kB / 374.5 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/0.05922, allocations: 392.2 kB / 374.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.05924, allocations: 0 / 374.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.05926, allocations: 8 kB / 374.9 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.05928, allocations: 4 kB / 374.9 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.05977, allocations: 315.7 kB / 375.2 MB, free: 12.91 MB / 346.7 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.001057/0.06082, allocations: 0.6863 MB / 375.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005151/0.06134, allocations: 241.1 kB / 376.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.06152, allocations: 129.6 kB / 376.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005307/0.06683, allocations: 2.698 MB / 379 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.06686, allocations: 42.5 kB / 379 MB, free: 9.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.254e-06/0.06686, allocations: 0 / 379 MB, free: 9.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001645/0.06851, allocations: 0.6984 MB / 379.7 MB, free: 8.328 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.06855, allocations: 81.11 kB / 379.8 MB, free: 8.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.741e-05/0.06864, allocations: 157.6 kB / 379.9 MB, free: 8.066 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.06867, allocations: 29.7 kB / 380 MB, free: 8.031 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.06872, allocations: 116.9 kB / 380.1 MB, free: 7.914 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.772e-05/0.06879, allocations: 122.9 kB / 380.2 MB, free: 7.793 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.439e-05/0.06887, allocations: 77.58 kB / 380.3 MB, free: 7.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.293e-05/0.06896, allocations: 334.8 kB / 380.6 MB, free: 7.375 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.06917, allocations: 135.9 kB / 380.7 MB, free: 7.242 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.06945, allocations: 211.6 kB / 380.9 MB, free: 7.008 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/0.06997, allocations: 361.7 kB / 381.3 MB, free: 6.633 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.06997, allocations: 0 / 381.3 MB, free: 6.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006391/0.07061, allocations: 421.2 kB / 381.7 MB, free: 6.215 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.07063, allocations: 4.219 kB / 381.7 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.07064, allocations: 11.98 kB / 381.7 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.07065, allocations: 4 kB / 381.7 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.07089, allocations: 83.88 kB / 381.8 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.0709, allocations: 11.88 kB / 381.8 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.07104, allocations: 31.88 kB / 381.8 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.07106, allocations: 15.98 kB / 381.9 MB, free: 6.055 MB / 346.7 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.000102/0.07117, allocations: 145.7 kB / 382 MB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-05/0.07124, allocations: 23.91 kB / 382 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.07153, allocations: 186.7 kB / 382.2 MB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.07153, allocations: 4 kB / 382.2 MB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.07154, allocations: 3.938 kB / 382.2 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.07154, allocations: 8 kB / 382.2 MB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009931/0.07254, allocations: 0.708 MB / 382.9 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.07254, allocations: 4 kB / 382.9 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.07273, allocations: 75.88 kB / 383 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.07274, allocations: 4 kB / 383 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.07276, allocations: 15.98 kB / 383 MB, free: 4.801 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.07277, allocations: 7.938 kB / 383 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.07277, allocations: 0 / 383 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000874/0.07364, allocations: 0.7172 MB / 383.7 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.094e-05/0.07372, allocations: 51.8 kB / 383.8 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.07375, allocations: 8.062 kB / 383.8 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.07392, allocations: 27.97 kB / 383.8 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.07395, allocations: 27.91 kB / 383.9 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.07397, allocations: 19.98 kB / 383.9 MB, free: 3.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.268e-05/0.07402, allocations: 110.2 kB / 384 MB, free: 3.805 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07402, allocations: 0 / 384 MB, free: 3.805 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001973/0.076, allocations: 0.9627 MB / 385 MB, free: 2.84 MB / 346.7 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 (37): * Single equations (assignments): 37 * 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.003962/0.07996, allocations: 2.541 MB / 387.5 MB, free: 260 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006706/0.08063, allocations: 335.8 kB / 387.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.08063, allocations: 0 / 387.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.08091, allocations: 178.5 kB / 388 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.08137, allocations: 100.1 kB / 388.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003798/0.08517, allocations: 3.19 MB / 391.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.08527, allocations: 137.8 kB / 391.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002333/0.08551, allocations: 86.31 kB / 391.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.08566, allocations: 84.39 kB / 391.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.08566, allocations: 0 / 391.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04884/0.1345, allocations: 34.35 MB / 425.9 MB, free: 9.801 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.195/7.329, allocations: 10.25 kB / 425.9 MB, free: 9.797 MB / 394.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.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: 9.435251197777689]