Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001494/0.001494, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001732/0.001732, allocations: 204.5 kB / 23.73 MB, free: 4.379 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.383/1.383, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.MoistAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 43.92 kB / 377.7 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2277, allocations: 53.36 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07337/0.301, allocations: 58.99 MB / 490.1 MB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006883/0.3079, allocations: 4.962 MB / 495 MB, free: 6.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003045/0.3082, allocations: 19.81 kB / 495.1 MB, free: 6.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009297/0.3092, allocations: 338 kB / 495.4 MB, free: 6.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009278/0.3101, allocations: 0.5128 MB / 495.9 MB, free: 5.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01737/0.3275, allocations: 7.457 MB / 0.4916 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002118/0.3296, allocations: 1.575 MB / 0.4931 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/0.3299, allocations: 149.3 kB / 0.4932 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.3311, allocations: 0.6425 MB / 0.4939 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009931/0.3321, allocations: 0.5995 MB / 0.4945 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.3322, allocations: 84 kB / 0.4945 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01774/0.35, allocations: 9.865 MB / 0.5042 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005238/0.3505, allocations: 335.1 kB / 0.5045 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005899/0.3511, allocations: 374.8 kB / 0.5048 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01257/0.3637, allocations: 5.881 MB / 0.5106 GB, free: 10.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3637, allocations: 4 kB / 0.5106 GB, free: 10.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3637, allocations: 0 / 0.5106 GB, free: 10.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.179e-05/0.3637, allocations: 0 / 0.5106 GB, free: 10.61 MB / 430.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.003987/0.3677, allocations: 1.54 MB / 0.5121 GB, free: 9.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3677, allocations: 8.031 kB / 0.5121 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.3679, allocations: 114.4 kB / 0.5122 GB, free: 8.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004406/0.3683, allocations: 91.5 kB / 0.5123 GB, free: 8.812 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007309/0.369, allocations: 387.2 kB / 0.5127 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.519e-05/0.3691, allocations: 45.31 kB / 0.5127 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.3692, allocations: 63.95 kB / 0.5128 GB, free: 8.305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.3713, allocations: 1.216 MB / 0.514 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.3713, allocations: 0 / 0.514 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.075e-05/0.3714, allocations: 28 kB / 0.514 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.3714, allocations: 20 kB / 0.514 GB, free: 6.934 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.3734, allocations: 1.024 MB / 0.515 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01452/0.3879, allocations: 4.143 MB / 0.5191 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.3897, allocations: 0.7037 MB / 0.5197 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005956/0.3903, allocations: 391.8 kB / 0.5201 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01155/0.4019, allocations: 2.608 MB / 0.5227 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/0.4019, allocations: 43.22 kB / 0.5227 GB, free: 13.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 4.578e-06/0.4019, allocations: 3.984 kB / 0.5227 GB, free: 13.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009914/0.4118, allocations: 3.159 MB / 0.5258 GB, free: 10.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.4119, allocations: 64.41 kB / 0.5259 GB, free: 10.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004446/0.4123, allocations: 364.4 kB / 0.5262 GB, free: 10.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.288e-05/0.4124, allocations: 41.7 kB / 0.5262 GB, free: 10.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.4126, allocations: 245.2 kB / 0.5265 GB, free: 10.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/0.4129, allocations: 321.2 kB / 0.5268 GB, free: 9.719 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.4131, allocations: 162.6 kB / 0.5269 GB, free: 9.555 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.4133, allocations: 358.8 kB / 0.5273 GB, free: 9.195 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006002/0.4139, allocations: 373.8 kB / 0.5276 GB, free: 8.828 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000938/0.4149, allocations: 0.4884 MB / 0.5281 GB, free: 8.309 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.4167, allocations: 0.9021 MB / 0.529 GB, free: 7.375 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4167, allocations: 0 / 0.529 GB, free: 7.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002623/0.4193, allocations: 1.117 MB / 0.5301 GB, free: 6.238 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.4193, allocations: 8 kB / 0.5301 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.4193, allocations: 4 kB / 0.5301 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008502/0.4202, allocations: 171.2 kB / 0.5303 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007994/0.421, allocations: 191.8 kB / 0.5304 GB, free: 5.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003228/0.4242, allocations: 3.895 MB / 0.5342 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005021/0.4247, allocations: 24.12 kB / 0.5343 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.4248, allocations: 43.98 kB / 0.5343 GB, free: 1.621 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 (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.0003807/0.4252, allocations: 225.6 kB / 0.5345 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004007/0.4256, allocations: 63.67 kB / 0.5346 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/0.4281, allocations: 1.288 MB / 0.5358 GB, free: 0 / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1862/0.6143, allocations: 8.594 kB / 0.5358 GB, free: 107.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.6143, allocations: 0.5312 kB / 0.5358 GB, free: 107.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002167/0.6165, allocations: 1.319 MB / 0.5371 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003113/0.6196, allocations: 1.804 MB / 0.5389 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.6196, allocations: 2.062 kB / 0.5389 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007394/0.6203, allocations: 158.3 kB / 0.5391 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001752/0.6221, allocations: 302 kB / 0.5393 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.089e-05/0.6222, allocations: 31.48 kB / 0.5394 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005736/0.6228, allocations: 1.287 MB / 0.5406 GB, free: 104.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6228, allocations: 1.188 kB / 0.5406 GB, free: 104.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/0.6253, allocations: 1.426 MB / 0.542 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.6255, allocations: 53 kB / 0.5421 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/0.6256, allocations: 20.8 kB / 0.5421 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005523/0.6261, allocations: 30.17 kB / 0.5421 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.6262, allocations: 58.08 kB / 0.5422 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.681e-05/0.6263, allocations: 44.19 kB / 0.5422 GB, free: 103.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003237/0.6266, allocations: 281 kB / 0.5425 GB, free: 103.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6266, allocations: 0 / 0.5425 GB, free: 103.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003573/0.6302, allocations: 1.43 MB / 0.5439 GB, free: 103.6 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.007697/0.6379, allocations: 3.602 MB / 0.5474 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001918/0.6398, allocations: 1.1 MB / 0.5485 GB, free: 101.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.6398, allocations: 3.875 kB / 0.5485 GB, free: 101.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007653/0.6406, allocations: 482 kB / 0.5489 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.6423, allocations: 391.6 kB / 0.5493 GB, free: 101.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.6525, allocations: 7.082 MB / 0.5562 GB, free: 94.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.6527, allocations: 312.6 kB / 0.5565 GB, free: 94.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006585/0.6534, allocations: 213 kB / 0.5567 GB, free: 94.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.6537, allocations: 227.3 kB / 0.5569 GB, free: 94.02 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.6537, allocations: 0 / 0.5569 GB, free: 94.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08429/0.738, allocations: 59.52 MB / 0.6151 GB, free: 34.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/14.96, allocations: 10.44 kB / 0.6151 GB, free: 34.88 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 41.54316295098397]