Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001387/0.001387, allocations: 109.6 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.001869/0.001869, 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.38/1.38, allocations: 207.6 MB / 235.3 MB, free: 9.977 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.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",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.001939/0.001939, allocations: 51.92 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2518, allocations: 49.16 MB / 396.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07608/0.3278, allocations: 66.4 MB / 462.8 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008173/0.336, allocations: 5.511 MB / 468.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007111/0.3367, allocations: 7.938 kB / 468.3 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.338, allocations: 361.9 kB / 468.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.3393, allocations: 0.5128 MB / 469.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02063/0.3599, allocations: 7.166 MB / 476.3 MB, free: 3.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00207/0.362, allocations: 1.575 MB / 477.9 MB, free: 1.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.3623, allocations: 157.4 kB / 478 MB, free: 1.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008963/0.3632, allocations: 0.6386 MB / 478.7 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009766/0.3642, allocations: 0.6034 MB / 479.3 MB, free: 144 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.3643, allocations: 80 kB / 479.4 MB, free: 64 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01909/0.3834, allocations: 10.34 MB / 489.7 MB, free: 5.711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004919/0.3839, allocations: 335.1 kB / 490 MB, free: 5.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006269/0.3845, allocations: 434.5 kB / 490.5 MB, free: 4.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01431/0.3988, allocations: 5.939 MB / 496.4 MB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3988, allocations: 0 / 496.4 MB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3988, allocations: 0 / 496.4 MB, free: 15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.804e-05/0.3989, allocations: 0 / 496.4 MB, free: 15 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004005/0.4029, allocations: 1.526 MB / 497.9 MB, free: 13.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.4029, allocations: 15.98 kB / 497.9 MB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001794/0.4031, allocations: 106.5 kB / 498 MB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005307/0.4036, allocations: 95.5 kB / 498.1 MB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007816/0.4044, allocations: 383.2 kB / 498.5 MB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.229e-05/0.4045, allocations: 49.31 kB / 498.6 MB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.4046, allocations: 67.94 kB / 498.6 MB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.4064, allocations: 0.8107 MB / 499.4 MB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.4065, allocations: 4 kB / 499.4 MB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.309e-05/0.4065, allocations: 28 kB / 499.5 MB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.4066, allocations: 16 kB / 499.5 MB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.4085, allocations: 1.036 MB / 0.4888 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01458/0.4231, allocations: 4.973 MB / 0.4936 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.425, allocations: 0.7179 MB / 0.4943 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006311/0.4256, allocations: 387 kB / 0.4947 GB, free: 4.512 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01087/0.4365, allocations: 2.615 MB / 0.4973 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/0.4366, allocations: 47.22 kB / 0.4973 GB, free: 1.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.685e-06/0.4366, allocations: 0 / 0.4973 GB, free: 1.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.009437/0.446, allocations: 3.167 MB / 0.5004 GB, free: 14.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.446, allocations: 60.41 kB / 0.5005 GB, free: 14.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.4465, allocations: 352.5 kB / 0.5008 GB, free: 14.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.774e-05/0.4465, allocations: 41.7 kB / 0.5008 GB, free: 14.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.4467, allocations: 245.2 kB / 0.5011 GB, free: 13.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/0.4469, allocations: 333.1 kB / 0.5014 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/0.4472, allocations: 158.6 kB / 0.5015 GB, free: 13.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.4474, allocations: 362.8 kB / 0.5019 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006472/0.448, allocations: 369.8 kB / 0.5022 GB, free: 12.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009549/0.449, allocations: 0.4884 MB / 0.5027 GB, free: 12.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/0.4509, allocations: 0.9059 MB / 0.5036 GB, free: 11.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4509, allocations: 0 / 0.5036 GB, free: 11.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002552/0.4534, allocations: 1.117 MB / 0.5047 GB, free: 10.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4534, allocations: 8 kB / 0.5047 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.4534, allocations: 4 kB / 0.5047 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007857/0.4542, allocations: 167.2 kB / 0.5049 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/0.455, allocations: 199.8 kB / 0.505 GB, free: 9.734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003071/0.4581, allocations: 3.902 MB / 0.5089 GB, free: 5.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.4585, allocations: 16 kB / 0.5089 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.394e-05/0.4585, allocations: 43.98 kB / 0.5089 GB, free: 5.496 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003581/0.4589, allocations: 233.8 kB / 0.5091 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003851/0.4593, allocations: 67.66 kB / 0.5092 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002392/0.4617, allocations: 1.284 MB / 0.5105 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.4617, allocations: 12 kB / 0.5105 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.4617, allocations: 0 / 0.5105 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001892/0.4636, allocations: 1.32 MB / 0.5118 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003226/0.4668, allocations: 1.928 MB / 0.5136 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4668, allocations: 0 / 0.5136 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007066/0.4675, allocations: 163.9 kB / 0.5138 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001723/0.4692, allocations: 297.3 kB / 0.5141 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.185e-05/0.4693, allocations: 27.98 kB / 0.5141 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008902/0.4702, allocations: 1.293 MB / 0.5154 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4702, allocations: 0 / 0.5154 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.4728, allocations: 1.422 MB / 0.5168 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.4729, allocations: 55.81 kB / 0.5168 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.742e-05/0.473, allocations: 28 kB / 0.5168 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004825/0.4735, allocations: 27.98 kB / 0.5169 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.903e-05/0.4736, allocations: 60.77 kB / 0.5169 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.984e-05/0.4736, allocations: 47.95 kB / 0.517 GB, free: 12.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003289/0.474, allocations: 279 kB / 0.5172 GB, free: 12.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.474, allocations: 0 / 0.5172 GB, free: 12.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003868/0.4778, allocations: 1.411 MB / 0.5186 GB, free: 11.24 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008509/0.4864, allocations: 3.606 MB / 0.5221 GB, free: 7.594 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002205/0.4886, allocations: 1.105 MB / 0.5232 GB, free: 6.457 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.4886, allocations: 0 / 0.5232 GB, free: 6.457 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008923/0.4895, allocations: 487.8 kB / 0.5237 GB, free: 5.977 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.4913, allocations: 382.1 kB / 0.524 GB, free: 5.598 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.5037, allocations: 7.08 MB / 0.531 GB, free: 14.33 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/0.5042, allocations: 0.9167 MB / 0.5319 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007137/0.5049, allocations: 201.2 kB / 0.532 GB, free: 13.19 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/0.5053, allocations: 235.3 kB / 0.5323 GB, free: 12.96 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5053, allocations: 0 / 0.5323 GB, free: 12.96 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2852/0.7905, allocations: 59.05 MB / 0.5899 GB, free: 129.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/15.84, allocations: 7.312 kB / 0.5899 GB, free: 129.9 MB / 478.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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: 43.88383711408824]