Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001521/0.001521, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001653/0.001653, allocations: 210.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 63.89 kB / 378.6 MB, free: 3.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2341, allocations: 53.41 MB / 432 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05814/0.2923, allocations: 51.17 MB / 483.1 MB, free: 3.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006758/0.299, allocations: 5.246 MB / 488.4 MB, free: 14.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.2993, allocations: 4 kB / 488.4 MB, free: 14.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000819/0.3001, allocations: 262.5 kB / 488.6 MB, free: 13.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007261/0.3008, allocations: 370 kB / 489 MB, free: 13.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01765/0.3185, allocations: 7.207 MB / 496.2 MB, free: 6.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.3199, allocations: 1.111 MB / 497.3 MB, free: 5.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.3201, allocations: 101.8 kB / 497.4 MB, free: 5.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006391/0.3265, allocations: 3.603 MB / 0.4893 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006209/0.3271, allocations: 426.5 kB / 0.4897 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.647e-05/0.3272, allocations: 60 kB / 0.4898 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01764/0.3449, allocations: 10.18 MB / 0.4997 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003437/0.3452, allocations: 235.4 kB / 0.4999 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004254/0.3457, allocations: 314.9 kB / 0.5002 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.3579, allocations: 5.534 MB / 0.5056 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3579, allocations: 0 / 0.5056 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3579, allocations: 0 / 0.5056 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.3579, allocations: 0 / 0.5056 GB, free: 0.6797 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003349/0.3613, allocations: 1.331 MB / 0.5069 GB, free: 15.31 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3613, allocations: 12.03 kB / 0.5069 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.006e-05/0.3613, allocations: 9 kB / 0.5069 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.735e-05/0.3614, allocations: 82.53 kB / 0.507 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003531/0.3618, allocations: 71.59 kB / 0.5071 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005142/0.3623, allocations: 296.4 kB / 0.5074 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.3623, allocations: 40.98 kB / 0.5074 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-05/0.3624, allocations: 40 kB / 0.5074 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.3637, allocations: 0.5882 MB / 0.508 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.3637, allocations: 0 / 0.508 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-05/0.3637, allocations: 20 kB / 0.508 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.3637, allocations: 12 kB / 0.5081 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.3651, allocations: 0.7533 MB / 0.5088 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01238/0.3774, allocations: 4.172 MB / 0.5129 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.3787, allocations: 0.5086 MB / 0.5134 GB, free: 8.523 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003636/0.3791, allocations: 245.6 kB / 0.5136 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01016/0.3892, allocations: 2.549 MB / 0.5161 GB, free: 5.734 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/0.3893, allocations: 39 kB / 0.5161 GB, free: 5.688 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.815e-06/0.3893, allocations: 0 / 0.5161 GB, free: 5.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.00591/0.3952, allocations: 1.886 MB / 0.518 GB, free: 3.762 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.3952, allocations: 59.91 kB / 0.518 GB, free: 3.691 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.3956, allocations: 328.2 kB / 0.5183 GB, free: 3.367 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.111e-05/0.3957, allocations: 37.7 kB / 0.5184 GB, free: 3.324 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.3959, allocations: 204.7 kB / 0.5186 GB, free: 3.121 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.3961, allocations: 198.3 kB / 0.5188 GB, free: 2.926 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.3962, allocations: 118.3 kB / 0.5189 GB, free: 2.805 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3964, allocations: 350.8 kB / 0.5192 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/0.3968, allocations: 233.2 kB / 0.5194 GB, free: 2.227 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/0.3975, allocations: 340.3 kB / 0.5197 GB, free: 1.859 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.3986, allocations: 0.5995 MB / 0.5203 GB, free: 1.227 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.3986, allocations: 0 / 0.5203 GB, free: 1.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001818/0.4005, allocations: 0.7636 MB / 0.5211 GB, free: 460 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4005, allocations: 8 kB / 0.5211 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.4005, allocations: 0 / 0.5211 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004858/0.401, allocations: 114.7 kB / 0.5212 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005024/0.4015, allocations: 123.8 kB / 0.5213 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/0.404, allocations: 3.266 MB / 0.5245 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.4044, allocations: 16 kB / 0.5245 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.607e-05/0.4044, allocations: 31.98 kB / 0.5245 GB, free: 12.63 MB / 446.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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0002807/0.4047, allocations: 193.8 kB / 0.5247 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/0.405, allocations: 63.67 kB / 0.5248 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.4066, allocations: 0.8034 MB / 0.5256 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.4066, allocations: 11.94 kB / 0.5256 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.4066, allocations: 0 / 0.5256 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001136/0.4077, allocations: 0.7674 MB / 0.5263 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.41, allocations: 1.265 MB / 0.5276 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.41, allocations: 4 kB / 0.5276 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/0.4104, allocations: 99.83 kB / 0.5277 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009044/0.4113, allocations: 148.7 kB / 0.5278 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/0.4114, allocations: 15.98 kB / 0.5278 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004573/0.4118, allocations: 0.6562 MB / 0.5285 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4118, allocations: 0 / 0.5285 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.4135, allocations: 0.8976 MB / 0.5293 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.4136, allocations: 39.8 kB / 0.5294 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.206e-05/0.4137, allocations: 16 kB / 0.5294 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.4141, allocations: 24.08 kB / 0.5294 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.194e-05/0.4142, allocations: 36.36 kB / 0.5295 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.4142, allocations: 31.92 kB / 0.5295 GB, free: 7.344 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002859/0.4145, allocations: 259 kB / 0.5297 GB, free: 7.094 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4145, allocations: 0 / 0.5297 GB, free: 7.094 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003849/0.4184, allocations: 1.337 MB / 0.531 GB, free: 5.754 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007674/0.426, allocations: 3.045 MB / 0.534 GB, free: 2.672 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001587/0.4276, allocations: 0.7685 MB / 0.5348 GB, free: 1.871 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.4276, allocations: 0 / 0.5348 GB, free: 1.871 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005708/0.4282, allocations: 283.8 kB / 0.535 GB, free: 1.594 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.4297, allocations: 273.1 kB / 0.5353 GB, free: 1.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1794/0.6091, allocations: 5.327 MB / 0.5405 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.6094, allocations: 0.8387 MB / 0.5413 GB, free: 101.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005273/0.6099, allocations: 141.1 kB / 0.5415 GB, free: 101.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.6102, allocations: 156.2 kB / 0.5416 GB, free: 101.6 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6102, allocations: 0 / 0.5416 GB, free: 101.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07205/0.6822, allocations: 51.14 MB / 0.5915 GB, free: 58.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.53, allocations: 11.78 kB / 0.5916 GB, free: 58.83 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 38.46715744503308]