Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.004379/0.004379, allocations: 110.8 kB / 21.97 MB, free: 5.246 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.00126/0.00126, allocations: 205.1 kB / 25.27 MB, free: 3.234 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.263/1.263, allocations: 207.6 MB / 236 MB, free: 9.996 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.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_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.001669/0.001669, allocations: 47.92 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2351, allocations: 49.15 MB / 397.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02983/0.2649, allocations: 26.83 MB / 424 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003032/0.268, allocations: 2.244 MB / 426.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.268, allocations: 1 kB / 426.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.2684, allocations: 64.98 kB / 426.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.2688, allocations: 159.1 kB / 426.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01687/0.2857, allocations: 6.208 MB / 432.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006166/0.2863, allocations: 312.1 kB / 432.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.407e-05/0.2863, allocations: 6.094 kB / 432.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.2866, allocations: 148.6 kB / 433.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.2868, allocations: 120.8 kB / 433.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.2868, allocations: 11.66 kB / 433.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01893/0.3057, allocations: 9.57 MB / 442.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.3059, allocations: 67.8 kB / 442.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.3061, allocations: 95.58 kB / 442.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.3169, allocations: 4.689 MB / 447.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3169, allocations: 0 / 447.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3169, allocations: 0 / 447.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.3169, allocations: 0 / 447.6 MB, free: 0.6953 MB / 350.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.003323/0.3202, allocations: 1.071 MB / 448.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3202, allocations: 15.98 kB / 448.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.183e-05/0.3203, allocations: 12.52 kB / 448.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.937e-05/0.3203, allocations: 46.73 kB / 448.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.3205, allocations: 32.16 kB / 448.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.3207, allocations: 157 kB / 449 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3207, allocations: 12.33 kB / 449 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.253e-05/0.3208, allocations: 16 kB / 449 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007118/0.3215, allocations: 289.5 kB / 449.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.3215, allocations: 3.938 kB / 449.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.3215, allocations: 8 kB / 449.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.3215, allocations: 7.938 kB / 449.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007837/0.3223, allocations: 311.8 kB / 449.6 MB, free: 14.65 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.001432/0.3238, allocations: 0.7885 MB / 450.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007102/0.3245, allocations: 249.2 kB / 450.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.3248, allocations: 130.9 kB / 450.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/0.3357, allocations: 2.682 MB / 453.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.3357, allocations: 38.56 kB / 453.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.404e-06/0.3357, allocations: 0 / 453.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002806/0.3385, allocations: 0.6965 MB / 454.2 MB, free: 9.957 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.3386, allocations: 89.05 kB / 454.3 MB, free: 9.852 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.3387, allocations: 121.8 kB / 454.4 MB, free: 9.723 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.3388, allocations: 33.7 kB / 454.4 MB, free: 9.684 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.3388, allocations: 108.9 kB / 454.5 MB, free: 9.574 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.3389, allocations: 130.8 kB / 454.7 MB, free: 9.445 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.3391, allocations: 73.64 kB / 454.7 MB, free: 9.367 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3392, allocations: 330.8 kB / 455 MB, free: 9.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/0.3396, allocations: 135.9 kB / 455.2 MB, free: 8.902 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/0.3401, allocations: 203.6 kB / 455.4 MB, free: 8.676 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009391/0.341, allocations: 364 kB / 455.7 MB, free: 8.293 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.341, allocations: 0 / 455.7 MB, free: 8.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001156/0.3422, allocations: 417.3 kB / 456.1 MB, free: 7.879 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3422, allocations: 7.938 kB / 456.1 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3422, allocations: 4 kB / 456.2 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.3422, allocations: 7.938 kB / 456.2 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/0.3427, allocations: 100 kB / 456.3 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.3427, allocations: 4 kB / 456.3 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.343, allocations: 31.86 kB / 456.3 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/0.343, allocations: 16 kB / 456.3 MB, free: 7.711 MB / 366.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.0001653/0.3432, allocations: 145.8 kB / 456.5 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.3433, allocations: 19.91 kB / 456.5 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004593/0.3438, allocations: 190.5 kB / 456.7 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3438, allocations: 4 kB / 456.7 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3438, allocations: 0 / 456.7 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.3438, allocations: 0 / 456.7 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.3455, allocations: 0.7393 MB / 457.4 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3455, allocations: 7.938 kB / 457.4 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004348/0.346, allocations: 83.81 kB / 457.5 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.346, allocations: 4 kB / 457.5 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.346, allocations: 11.98 kB / 457.5 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.346, allocations: 4.156 kB / 457.5 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.346, allocations: 8 kB / 457.5 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.3475, allocations: 0.7146 MB / 458.2 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.3476, allocations: 43.89 kB / 458.3 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.3477, allocations: 12.06 kB / 458.3 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.348, allocations: 15.98 kB / 458.3 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.3481, allocations: 31.89 kB / 458.3 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.3481, allocations: 19.98 kB / 458.4 MB, free: 5.559 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.765e-05/0.3482, allocations: 99.64 kB / 458.4 MB, free: 5.461 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3482, allocations: 0 / 458.4 MB, free: 5.461 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002758/0.3509, allocations: 0.9432 MB / 459.4 MB, free: 4.516 MB / 366.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.006243/0.3572, allocations: 2.416 MB / 461.8 MB, free: 2.051 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.3582, allocations: 335.5 kB / 462.1 MB, free: 1.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3582, allocations: 0 / 462.1 MB, free: 1.723 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004749/0.3586, allocations: 176.5 kB / 462.3 MB, free: 1.551 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007147/0.3594, allocations: 91.84 kB / 462.4 MB, free: 1.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00606/0.3654, allocations: 3.135 MB / 465.5 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.3658, allocations: 0.7449 MB / 466.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003292/0.3661, allocations: 82.03 kB / 466.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.3663, allocations: 67.41 kB / 466.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3663, allocations: 0 / 466.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0671/0.4334, allocations: 34.38 MB / 0.4891 GB, free: 10.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.3, allocations: 8.016 kB / 0.4891 GB, free: 10.75 MB / 414.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 16.141656502964906]