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.001684/0.001684, allocations: 108.2 kB / 21.18 MB, free: 0.6992 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.001585/0.001585, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.441/1.441, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",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.001934/0.001934, allocations: 51.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2585, allocations: 49.17 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0355/0.294, allocations: 26.82 MB / 423.2 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003339/0.2973, allocations: 2.255 MB / 425.4 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.2975, allocations: 1.094 kB / 425.4 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.2978, allocations: 61.86 kB / 425.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004684/0.2983, allocations: 154.6 kB / 425.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01928/0.3176, allocations: 6.216 MB / 431.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006673/0.3183, allocations: 320 kB / 432.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.282e-05/0.3183, allocations: 5.875 kB / 432.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003883/0.3187, allocations: 144.5 kB / 432.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.319, allocations: 125.6 kB / 432.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.096e-05/0.3191, allocations: 10.56 kB / 432.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02186/0.3409, allocations: 9.561 MB / 442 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.3411, allocations: 71.78 kB / 442.1 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.3413, allocations: 99.58 kB / 442.2 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.354, allocations: 4.685 MB / 446.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.354, allocations: 0 / 446.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.354, allocations: 3.938 kB / 446.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.354, allocations: 0 / 446.9 MB, free: 0.707 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.003644/0.3577, allocations: 1.067 MB / 447.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.3577, allocations: 15.98 kB / 447.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.637e-05/0.3578, allocations: 46.73 kB / 448 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.358, allocations: 36.36 kB / 448 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.3583, allocations: 161 kB / 448.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.3583, allocations: 16.27 kB / 448.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.446e-05/0.3584, allocations: 16 kB / 448.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008131/0.3592, allocations: 277.5 kB / 448.5 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.3592, allocations: 3.938 kB / 448.5 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.3592, allocations: 12 kB / 448.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/0.3593, allocations: 8 kB / 448.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008572/0.3601, allocations: 315.7 kB / 448.8 MB, free: 14.67 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.001641/0.3618, allocations: 0.7924 MB / 449.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007651/0.3625, allocations: 245.2 kB / 449.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.3629, allocations: 133.6 kB / 450 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01209/0.3749, allocations: 2.686 MB / 452.7 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/0.375, allocations: 34.56 kB / 452.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 3.086e-06/0.375, allocations: 0 / 452.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.003053/0.3781, allocations: 0.6997 MB / 453.4 MB, free: 9.969 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/0.3781, allocations: 81.11 kB / 453.5 MB, free: 9.871 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.3783, allocations: 121.8 kB / 453.6 MB, free: 9.742 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/0.3783, allocations: 37.69 kB / 453.6 MB, free: 9.699 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.678e-05/0.3784, allocations: 108.9 kB / 453.7 MB, free: 9.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.3786, allocations: 130.9 kB / 453.9 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.3787, allocations: 69.64 kB / 453.9 MB, free: 9.387 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.3789, allocations: 334.8 kB / 454.3 MB, free: 9.051 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/0.3793, allocations: 135.9 kB / 454.4 MB, free: 8.918 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/0.3798, allocations: 199.6 kB / 454.6 MB, free: 8.695 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009457/0.3808, allocations: 359.5 kB / 454.9 MB, free: 8.316 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3808, allocations: 0 / 454.9 MB, free: 8.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001244/0.382, allocations: 417.7 kB / 455.4 MB, free: 7.902 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.382, allocations: 11.94 kB / 455.4 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.382, allocations: 0 / 455.4 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.3821, allocations: 4 kB / 455.4 MB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/0.3826, allocations: 96.03 kB / 455.5 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.3826, allocations: 8 kB / 455.5 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/0.3829, allocations: 27.86 kB / 455.5 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.383, allocations: 20 kB / 455.5 MB, free: 7.738 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.0002014/0.3832, allocations: 141.8 kB / 455.7 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.3833, allocations: 15.91 kB / 455.7 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005207/0.3838, allocations: 190.4 kB / 455.9 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.3839, allocations: 7.938 kB / 455.9 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.3839, allocations: 4 kB / 455.9 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.3839, allocations: 7.969 kB / 455.9 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.3857, allocations: 0.7433 MB / 456.6 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3857, allocations: 0 / 456.6 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.3862, allocations: 83.81 kB / 456.7 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.3862, allocations: 4 kB / 456.7 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.3862, allocations: 11.98 kB / 456.7 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-06/0.3862, allocations: 8 kB / 456.7 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.3862, allocations: 4 kB / 456.7 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.3879, allocations: 0.7147 MB / 457.4 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.3881, allocations: 39.86 kB / 457.5 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/0.3881, allocations: 8 kB / 457.5 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.3885, allocations: 24.05 kB / 457.5 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.3886, allocations: 27.89 kB / 457.5 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.635e-05/0.3886, allocations: 19.98 kB / 457.6 MB, free: 5.586 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.33e-05/0.3887, allocations: 99.2 kB / 457.7 MB, free: 5.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3887, allocations: 0 / 457.7 MB, free: 5.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003197/0.3919, allocations: 0.9394 MB / 458.6 MB, free: 4.547 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.006862/0.3988, allocations: 2.414 MB / 461 MB, free: 2.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.4, allocations: 335.5 kB / 461.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4, allocations: 0 / 461.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005205/0.4005, allocations: 172.5 kB / 461.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007896/0.4013, allocations: 99.78 kB / 461.6 MB, free: 1.492 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006934/0.4082, allocations: 3.139 MB / 464.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.4087, allocations: 0.7371 MB / 465.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003912/0.4091, allocations: 85.98 kB / 465.6 MB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.4093, allocations: 71.39 kB / 465.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of SimCode: time 9.11e-07/0.4093, allocations: 3.938 kB / 465.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08057/0.4899, allocations: 34.35 MB / 500 MB, free: 10.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.76, allocations: 3.984 kB / 500 MB, free: 10.8 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.995118397055194]