Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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.001283/0.001283, allocations: 123.9 kB / 17.79 MB, free: 5.266 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.001311/0.001311, allocations: 185.2 kB / 20.73 MB, free: 2.332 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.353/1.353, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.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.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 55.91 kB / 365.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09431/0.09589, allocations: 52.14 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03366/0.1295, allocations: 26.55 MB / 444.3 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1904/0.32, allocations: 2.238 MB / 446.6 MB, free: 7.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.3201, allocations: 0.8125 kB / 446.6 MB, free: 7.496 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.3205, allocations: 63.56 kB / 446.6 MB, free: 7.496 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003905/0.3209, allocations: 158.9 kB / 446.8 MB, free: 7.496 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01408/0.335, allocations: 6.519 MB / 453.3 MB, free: 7.418 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004398/0.3354, allocations: 313.3 kB / 453.6 MB, free: 7.418 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.152e-05/0.3355, allocations: 6.984 kB / 453.6 MB, free: 7.418 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.3357, allocations: 136.9 kB / 453.7 MB, free: 7.418 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.3359, allocations: 130.5 kB / 453.9 MB, free: 7.414 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.3359, allocations: 11.75 kB / 453.9 MB, free: 7.414 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01709/0.353, allocations: 9.628 MB / 463.5 MB, free: 7.344 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.3532, allocations: 64.89 kB / 463.6 MB, free: 7.328 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.3533, allocations: 100.4 kB / 463.7 MB, free: 7.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01229/0.3656, allocations: 4.711 MB / 468.4 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3656, allocations: 3 kB / 468.4 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3656, allocations: 1.219 kB / 468.4 MB, free: 5.402 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.3657, allocations: 0 / 468.4 MB, free: 5.402 MB / 366.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.004468/0.3701, allocations: 1.156 MB / 469.5 MB, free: 4.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.3702, allocations: 10.95 kB / 469.5 MB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.3702, allocations: 48.3 kB / 469.6 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.3704, allocations: 25.81 kB / 469.6 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.3706, allocations: 220.8 kB / 469.8 MB, free: 4.234 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3707, allocations: 10.55 kB / 469.8 MB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.3707, allocations: 14.91 kB / 469.9 MB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006834/0.3714, allocations: 289.2 kB / 470.1 MB, free: 4.051 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.3714, allocations: 1.094 kB / 470.1 MB, free: 4.051 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.3714, allocations: 11.28 kB / 470.2 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.3715, allocations: 5.25 kB / 470.2 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007575/0.3722, allocations: 314.2 kB / 470.5 MB, free: 3.906 MB / 366.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.001346/0.3736, allocations: 0.8222 MB / 471.3 MB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006793/0.3742, allocations: 240.7 kB / 471.5 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.3745, allocations: 135 kB / 471.7 MB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01648/0.391, allocations: 12.85 MB / 484.5 MB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.3911, allocations: 44.95 kB / 484.5 MB, free: 5.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.305e-06/0.3911, allocations: 0 / 484.5 MB, free: 5.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002908/0.394, allocations: 0.6808 MB / 485.2 MB, free: 4.691 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.394, allocations: 92.44 kB / 485.3 MB, free: 4.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.3942, allocations: 138 kB / 485.5 MB, free: 4.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.3942, allocations: 30.92 kB / 485.5 MB, free: 4.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.797e-05/0.3943, allocations: 109.1 kB / 485.6 MB, free: 4.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.3944, allocations: 128.7 kB / 485.7 MB, free: 4.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.3945, allocations: 73.08 kB / 485.8 MB, free: 4.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3947, allocations: 326.5 kB / 486.1 MB, free: 3.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.395, allocations: 140.8 kB / 486.2 MB, free: 3.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/0.3955, allocations: 203.6 kB / 486.4 MB, free: 3.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008997/0.3964, allocations: 373.1 kB / 486.8 MB, free: 3.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3964, allocations: 1.531 kB / 486.8 MB, free: 3.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001105/0.3975, allocations: 416.6 kB / 487.2 MB, free: 3.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3975, allocations: 7.875 kB / 487.2 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3975, allocations: 2.969 kB / 487.2 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3976, allocations: 6.781 kB / 487.2 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/0.398, allocations: 86.94 kB / 487.3 MB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.398, allocations: 5.781 kB / 487.3 MB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.3984, allocations: 31.97 kB / 487.4 MB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.3984, allocations: 12.75 kB / 487.4 MB, free: 3.152 MB / 382.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.0001709/0.3986, allocations: 145.9 kB / 487.5 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.3987, allocations: 22.89 kB / 487.5 MB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004757/0.3992, allocations: 191.5 kB / 487.7 MB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3992, allocations: 2.938 kB / 487.7 MB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.3992, allocations: 3.562 kB / 487.7 MB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3992, allocations: 9.516 kB / 487.7 MB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.4009, allocations: 0.7628 MB / 488.5 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.4009, allocations: 4.5 kB / 488.5 MB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/0.4013, allocations: 78.2 kB / 488.6 MB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.4014, allocations: 2.812 kB / 488.6 MB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.4014, allocations: 16.83 kB / 488.6 MB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.4014, allocations: 7.5 kB / 488.6 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4014, allocations: 2.969 kB / 488.6 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.4029, allocations: 0.7085 MB / 489.3 MB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.4031, allocations: 122.4 kB / 489.4 MB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.4031, allocations: 7.031 kB / 489.4 MB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/0.4035, allocations: 26.78 kB / 489.5 MB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.4035, allocations: 22.61 kB / 489.5 MB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.4036, allocations: 17.03 kB / 489.5 MB, free: 1.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.534e-05/0.4036, allocations: 97.75 kB / 489.6 MB, free: 1.516 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4036, allocations: 4 kB / 489.6 MB, free: 1.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003705/0.4073, allocations: 0.9548 MB / 490.6 MB, free: 1.297 MB / 382.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 (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.007448/0.4148, allocations: 2.394 MB / 493 MB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.4158, allocations: 339.3 kB / 493.3 MB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.4158, allocations: 3.281 kB / 493.3 MB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004454/0.4163, allocations: 170.5 kB / 493.5 MB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007245/0.417, allocations: 97.67 kB / 493.5 MB, free: 15.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006877/0.4239, allocations: 3.152 MB / 496.7 MB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.4243, allocations: 0.7409 MB / 497.4 MB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000409/0.4247, allocations: 82.33 kB / 497.5 MB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.4249, allocations: 68.48 kB / 497.6 MB, free: 12.16 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4249, allocations: 4 kB / 497.6 MB, free: 12.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07023/0.4951, allocations: 32.58 MB / 0.5177 GB, free: 11.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.341/9.836, allocations: 2.812 kB / 0.5177 GB, free: 11.72 MB / 430.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 12.895513536874205]