Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001549/0.001549, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001763/0.001763, allocations: 216.2 kB / 24.53 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.369/1.369, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.MoistAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 39.94 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2353, allocations: 53.37 MB / 431.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.0561/0.2914, allocations: 51.18 MB / 483.1 MB, free: 3.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006407/0.2978, allocations: 5.234 MB / 488.3 MB, free: 14.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.298, allocations: 7.938 kB / 488.3 MB, free: 14.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007089/0.2987, allocations: 262.6 kB / 488.6 MB, free: 13.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006552/0.2994, allocations: 369.9 kB / 489 MB, free: 13.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01766/0.3171, allocations: 7.214 MB / 496.2 MB, free: 6.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001495/0.3185, allocations: 1.111 MB / 497.3 MB, free: 5.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.3188, allocations: 97.83 kB / 497.4 MB, free: 5.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006739/0.3255, allocations: 3.603 MB / 0.4892 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007514/0.3263, allocations: 430.5 kB / 0.4897 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.3264, allocations: 60 kB / 0.4897 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01862/0.345, allocations: 10.17 MB / 0.4996 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000434/0.3455, allocations: 239.4 kB / 0.4999 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000571/0.3461, allocations: 310.9 kB / 0.5002 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01215/0.3582, allocations: 5.53 MB / 0.5056 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.3582, allocations: 0 / 0.5056 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3582, allocations: 4 kB / 0.5056 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.612e-05/0.3582, allocations: 0 / 0.5056 GB, free: 0.8359 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.003444/0.3617, allocations: 1.327 MB / 0.5069 GB, free: 15.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3617, allocations: 12.03 kB / 0.5069 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.458e-05/0.3617, allocations: 17 kB / 0.5069 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/0.3619, allocations: 86.47 kB / 0.507 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003561/0.3622, allocations: 67.59 kB / 0.507 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005314/0.3627, allocations: 300.5 kB / 0.5073 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.3628, allocations: 29 kB / 0.5074 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.583e-05/0.3628, allocations: 48 kB / 0.5074 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.3642, allocations: 0.592 MB / 0.508 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.3642, allocations: 0 / 0.508 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.478e-05/0.3642, allocations: 20 kB / 0.508 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.3643, allocations: 12 kB / 0.508 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.3656, allocations: 0.7534 MB / 0.5088 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0124/0.378, allocations: 4.161 MB / 0.5128 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.3793, allocations: 0.505 MB / 0.5133 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003857/0.3797, allocations: 244.4 kB / 0.5135 GB, free: 8.449 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0104/0.3901, allocations: 2.545 MB / 0.516 GB, free: 5.902 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/0.3902, allocations: 39 kB / 0.5161 GB, free: 5.855 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.154e-06/0.3902, allocations: 0 / 0.5161 GB, free: 5.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005835/0.396, allocations: 1.897 MB / 0.5179 GB, free: 3.918 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.3961, allocations: 63.84 kB / 0.518 GB, free: 3.844 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003987/0.3965, allocations: 320.2 kB / 0.5183 GB, free: 3.523 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.908e-05/0.3965, allocations: 37.7 kB / 0.5183 GB, free: 3.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.3967, allocations: 204.7 kB / 0.5185 GB, free: 3.277 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.3968, allocations: 202.3 kB / 0.5187 GB, free: 3.078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.397, allocations: 122.3 kB / 0.5188 GB, free: 2.953 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3972, allocations: 346.8 kB / 0.5192 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.3976, allocations: 237.2 kB / 0.5194 GB, free: 2.375 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006477/0.3982, allocations: 344.3 kB / 0.5197 GB, free: 2.008 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.3994, allocations: 0.5956 MB / 0.5203 GB, free: 1.379 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3994, allocations: 4 kB / 0.5203 GB, free: 1.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001845/0.4012, allocations: 0.7559 MB / 0.521 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4013, allocations: 4 kB / 0.521 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4013, allocations: 4 kB / 0.521 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004744/0.4018, allocations: 98.52 kB / 0.5211 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004896/0.4022, allocations: 139.9 kB / 0.5213 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/0.4049, allocations: 3.269 MB / 0.5245 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.4052, allocations: 16 kB / 0.5245 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.811e-05/0.4053, allocations: 31.98 kB / 0.5245 GB, free: 12.79 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.0002753/0.4055, allocations: 201.6 kB / 0.5247 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002977/0.4058, allocations: 47.92 kB / 0.5247 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.4074, allocations: 0.8111 MB / 0.5255 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.4074, allocations: 8 kB / 0.5255 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-06/0.4074, allocations: 0 / 0.5255 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001164/0.4086, allocations: 0.7596 MB / 0.5263 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.4107, allocations: 1.277 MB / 0.5275 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4107, allocations: 0 / 0.5275 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000433/0.4111, allocations: 103.8 kB / 0.5276 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009029/0.412, allocations: 144.7 kB / 0.5278 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/0.4121, allocations: 19.98 kB / 0.5278 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004388/0.4125, allocations: 0.6445 MB / 0.5284 GB, free: 8.574 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4125, allocations: 0 / 0.5284 GB, free: 8.574 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.4142, allocations: 0.9171 MB / 0.5293 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.4143, allocations: 39.8 kB / 0.5294 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.806e-05/0.4144, allocations: 15.98 kB / 0.5294 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.4148, allocations: 23.98 kB / 0.5294 GB, free: 7.555 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/0.4149, allocations: 32.38 kB / 0.5294 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-05/0.4149, allocations: 31.98 kB / 0.5295 GB, free: 7.492 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002921/0.4152, allocations: 263 kB / 0.5297 GB, free: 7.238 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4152, allocations: 0 / 0.5297 GB, free: 7.238 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003724/0.419, allocations: 1.341 MB / 0.531 GB, free: 5.895 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.00787/0.4268, allocations: 3.023 MB / 0.534 GB, free: 2.828 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.4284, allocations: 0.7726 MB / 0.5347 GB, free: 2.027 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.4284, allocations: 4 kB / 0.5347 GB, free: 2.023 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005771/0.429, allocations: 291.1 kB / 0.535 GB, free: 1.738 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.4304, allocations: 279.3 kB / 0.5353 GB, free: 1.461 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1916/0.622, allocations: 5.323 MB / 0.5405 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.6223, allocations: 0.8356 MB / 0.5413 GB, free: 101.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005168/0.6228, allocations: 140 kB / 0.5414 GB, free: 101.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.6231, allocations: 159.3 kB / 0.5416 GB, free: 101.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6231, allocations: 0 / 0.5416 GB, free: 101.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06968/0.6927, allocations: 51.15 MB / 0.5915 GB, free: 59.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/15.58, allocations: 8.062 kB / 0.5915 GB, free: 59.01 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.701065581990406]