Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 107.1 kB / 17.06 MB, free: 6.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 199 kB / 18 MB, free: 5.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009588/0.0009591, allocations: 39.94 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2772, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06369/0.3409, allocations: 65.57 MB / 465.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007179/0.3481, allocations: 5.46 MB / 471.3 MB, free: 1.539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003782/0.3486, allocations: 8 kB / 471.3 MB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.3497, allocations: 354 kB / 471.6 MB, free: 1.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.3507, allocations: 0.5089 MB / 472.1 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02018/0.3709, allocations: 7.43 MB / 479.6 MB, free: 9.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002129/0.3731, allocations: 1.551 MB / 481.1 MB, free: 7.684 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003688/0.3734, allocations: 212.8 kB / 481.3 MB, free: 7.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.3746, allocations: 0.6269 MB / 482 MB, free: 6.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000806/0.3754, allocations: 0.5723 MB / 482.5 MB, free: 6.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.3755, allocations: 84 kB / 482.6 MB, free: 6.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01807/0.3936, allocations: 10.2 MB / 492.8 MB, free: 11.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000566/0.3942, allocations: 319.2 kB / 493.1 MB, free: 11.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000697/0.3949, allocations: 434.4 kB / 493.5 MB, free: 11.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0139/0.4088, allocations: 5.937 MB / 499.5 MB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.4089, allocations: 0 / 499.5 MB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4089, allocations: 0 / 499.5 MB, free: 5.277 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.4089, allocations: 0 / 499.5 MB, free: 5.277 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.003896/0.4128, allocations: 1.56 MB / 0.4893 GB, free: 3.668 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.4129, allocations: 11.97 kB / 0.4893 GB, free: 3.656 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.413, allocations: 114.4 kB / 0.4894 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000423/0.4135, allocations: 87.17 kB / 0.4895 GB, free: 3.449 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006664/0.4141, allocations: 444.8 kB / 0.4899 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.4142, allocations: 45.31 kB / 0.49 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.341e-05/0.4143, allocations: 64 kB / 0.49 GB, free: 2.871 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.4159, allocations: 0.8068 MB / 0.4908 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.416, allocations: 7.906 kB / 0.4908 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.777e-05/0.4161, allocations: 28 kB / 0.4909 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.4161, allocations: 16 kB / 0.4909 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.4179, allocations: 1.036 MB / 0.4919 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01639/0.4343, allocations: 12.77 MB / 0.5044 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.4359, allocations: 0.7413 MB / 0.5051 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005309/0.4365, allocations: 411.9 kB / 0.5055 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01497/0.4515, allocations: 12.24 MB / 0.5174 GB, free: 2.273 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.29e-05/0.4516, allocations: 47.22 kB / 0.5175 GB, free: 2.219 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.855e-06/0.4516, allocations: 4 kB / 0.5175 GB, free: 2.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01016/0.4617, allocations: 3.372 MB / 0.5208 GB, free: 14.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.4618, allocations: 60.41 kB / 0.5208 GB, free: 14.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.4623, allocations: 360.5 kB / 0.5212 GB, free: 14.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.555e-05/0.4624, allocations: 41.7 kB / 0.5212 GB, free: 14.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.4626, allocations: 236.7 kB / 0.5214 GB, free: 14.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.4628, allocations: 311.5 kB / 0.5217 GB, free: 13.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002609/0.4631, allocations: 158.5 kB / 0.5219 GB, free: 13.56 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.4633, allocations: 362.8 kB / 0.5222 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005693/0.4639, allocations: 369.8 kB / 0.5226 GB, free: 12.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008671/0.4648, allocations: 496.2 kB / 0.5231 GB, free: 12.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.4664, allocations: 0.9059 MB / 0.5239 GB, free: 11.38 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4665, allocations: 0 / 0.5239 GB, free: 11.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002478/0.4689, allocations: 1.121 MB / 0.525 GB, free: 10.24 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.469, allocations: 4 kB / 0.525 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.469, allocations: 7.984 kB / 0.525 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007879/0.4698, allocations: 167.6 kB / 0.5252 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007362/0.4705, allocations: 191.7 kB / 0.5254 GB, free: 9.867 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002976/0.4735, allocations: 4.12 MB / 0.5294 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/0.474, allocations: 16 kB / 0.5294 GB, free: 5.402 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.947e-05/0.4741, allocations: 47.97 kB / 0.5295 GB, free: 5.355 MB / 462.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.0004043/0.4745, allocations: 225.6 kB / 0.5297 GB, free: 5.125 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003779/0.4749, allocations: 59.42 kB / 0.5297 GB, free: 5.066 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/0.4772, allocations: 1.292 MB / 0.531 GB, free: 3.738 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.4773, allocations: 8 kB / 0.531 GB, free: 3.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.4773, allocations: 0 / 0.531 GB, free: 3.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001799/0.4791, allocations: 1.316 MB / 0.5323 GB, free: 2.281 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003208/0.4823, allocations: 1.956 MB / 0.5342 GB, free: 268 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4823, allocations: 4 kB / 0.5342 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007092/0.4831, allocations: 163.8 kB / 0.5344 GB, free: 100 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2171/0.7002, allocations: 291.2 kB / 0.5346 GB, free: 138.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002228/0.7004, allocations: 31.83 kB / 0.5347 GB, free: 138.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007596/0.7012, allocations: 1.288 MB / 0.5359 GB, free: 137.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.7012, allocations: 6.125 kB / 0.5359 GB, free: 137.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003892/0.7051, allocations: 1.419 MB / 0.5373 GB, free: 137.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.7054, allocations: 127.5 kB / 0.5374 GB, free: 137.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.7056, allocations: 22.08 kB / 0.5375 GB, free: 137.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005719/0.7061, allocations: 29.84 kB / 0.5375 GB, free: 137.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.7063, allocations: 58.34 kB / 0.5376 GB, free: 137.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001625/0.7065, allocations: 47 kB / 0.5376 GB, free: 137.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004308/0.7069, allocations: 280.6 kB / 0.5379 GB, free: 137.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7069, allocations: 0 / 0.5379 GB, free: 137.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004947/0.7119, allocations: 1.404 MB / 0.5392 GB, free: 137 MB / 462.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.008742/0.7206, allocations: 3.586 MB / 0.5427 GB, free: 135.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.7227, allocations: 1.172 MB / 0.5439 GB, free: 135.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.7227, allocations: 0 / 0.5439 GB, free: 135.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007691/0.7235, allocations: 492.9 kB / 0.5444 GB, free: 135 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.7254, allocations: 390.2 kB / 0.5447 GB, free: 134.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.7354, allocations: 7.032 MB / 0.5516 GB, free: 130 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.7358, allocations: 0.9128 MB / 0.5525 GB, free: 129.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007132/0.7365, allocations: 206 kB / 0.5527 GB, free: 128.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/0.7368, allocations: 227.4 kB / 0.5529 GB, free: 128.7 MB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7368, allocations: 0 / 0.5529 GB, free: 128.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08135/0.8182, allocations: 57.17 MB / 0.6087 GB, free: 71.72 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/14.74, allocations: 11.17 kB / 0.6087 GB, free: 71.71 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches