Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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 3.2.3+maint.om/package.mo", uses=false) 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.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.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.0008663/0.0008663, allocations: 101.2 kB / 17.31 MB, free: 6.344 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.0009516/0.0009515, allocations: 177.5 kB / 18.2 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.169/1.169, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004546/0.0004546, allocations: 16 kB / 281.5 MB, free: 3.32 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07117/0.07163, allocations: 47.59 MB / 329.1 MB, free: 3.656 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.04639/0.1181, allocations: 51.27 MB / 380.3 MB, free: 216 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1607/0.2788, allocations: 5.198 MB / 385.5 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.2791, allocations: 6.188 kB / 385.5 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005861/0.2797, allocations: 216 kB / 385.8 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005263/0.2802, allocations: 364.1 kB / 386.1 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0122/0.2925, allocations: 5.587 MB / 391.7 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00139/0.2939, allocations: 1.608 MB / 393.3 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.2941, allocations: 113.6 kB / 393.4 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00571/0.2998, allocations: 3.653 MB / 397.1 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/0.3002, allocations: 401.3 kB / 397.5 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.521e-05/0.3003, allocations: 25.34 kB / 397.5 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01425/0.3145, allocations: 9.958 MB / 407.4 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.3148, allocations: 188.6 kB / 407.6 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003899/0.3152, allocations: 299 kB / 407.9 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008953/0.3242, allocations: 5.535 MB / 413.5 MB, free: 4.664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3242, allocations: 3.562 kB / 413.5 MB, free: 4.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3242, allocations: 0 / 413.5 MB, free: 4.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3242, allocations: 3 kB / 413.5 MB, free: 4.664 MB / 318.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.002555/0.3268, allocations: 1.245 MB / 414.7 MB, free: 3.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3268, allocations: 11.91 kB / 414.7 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.101e-05/0.3269, allocations: 80.41 kB / 414.8 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002754/0.3272, allocations: 60.2 kB / 414.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.3276, allocations: 361.3 kB / 415.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.3276, allocations: 35.88 kB / 415.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/0.3277, allocations: 42.75 kB / 415.3 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.3288, allocations: 0.5901 MB / 415.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.3288, allocations: 3.984 kB / 415.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.103e-05/0.3289, allocations: 23.56 kB / 415.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3289, allocations: 8 kB / 415.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.33, allocations: 0.7459 MB / 416.7 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01428/0.3442, allocations: 12.01 MB / 428.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.3454, allocations: 0.5401 MB / 429.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/0.3458, allocations: 254.1 kB / 429.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01339/0.3592, allocations: 11.95 MB / 441.4 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.3593, allocations: 47 kB / 441.4 MB, free: 6.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.053e-06/0.3593, allocations: 0 / 441.4 MB, free: 6.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.005282/0.3646, allocations: 2.132 MB / 443.6 MB, free: 3.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.3646, allocations: 58.16 kB / 443.6 MB, free: 3.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.3649, allocations: 322.9 kB / 443.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.365, allocations: 41.7 kB / 444 MB, free: 3.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.3651, allocations: 194.3 kB / 444.2 MB, free: 3.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.3653, allocations: 201.6 kB / 444.4 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.878e-05/0.3653, allocations: 45.7 kB / 444.4 MB, free: 3.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3655, allocations: 346.8 kB / 444.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.3658, allocations: 243.7 kB / 445 MB, free: 2.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/0.3664, allocations: 339.4 kB / 445.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.3675, allocations: 0.6012 MB / 445.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3675, allocations: 0 / 445.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001624/0.3691, allocations: 0.7646 MB / 446.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3691, allocations: 8 kB / 446.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3692, allocations: 0 / 446.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004234/0.3696, allocations: 110.5 kB / 446.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.37, allocations: 124 kB / 446.9 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.3722, allocations: 3.282 MB / 450.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.3725, allocations: 34.7 kB / 450.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.086e-05/0.3726, allocations: 28 kB / 450.3 MB, free: 12.8 MB / 366.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.0002278/0.3728, allocations: 197.7 kB / 450.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/0.3731, allocations: 51.47 kB / 450.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.3745, allocations: 0.8201 MB / 451.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3745, allocations: 4 kB / 451.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.3745, allocations: 0 / 451.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001019/0.3756, allocations: 0.7558 MB / 452.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.3774, allocations: 1.297 MB / 453.4 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3774, allocations: 0 / 453.4 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004394/0.3779, allocations: 99.88 kB / 453.5 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008395/0.3787, allocations: 148.7 kB / 453.6 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.3788, allocations: 16 kB / 453.7 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003706/0.3791, allocations: 0.6522 MB / 454.3 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3791, allocations: 3.984 kB / 454.3 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.3806, allocations: 0.9033 MB / 455.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.3808, allocations: 128.7 kB / 455.3 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.814e-05/0.3808, allocations: 15.94 kB / 455.4 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.3812, allocations: 35.97 kB / 455.4 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.3813, allocations: 36.33 kB / 455.4 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/0.3814, allocations: 27.98 kB / 455.4 MB, free: 7.387 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002452/0.3816, allocations: 253.9 kB / 455.7 MB, free: 7.141 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3816, allocations: 4 kB / 455.7 MB, free: 7.137 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003431/0.3851, allocations: 1.304 MB / 457 MB, free: 5.832 MB / 366.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.006893/0.392, allocations: 3.048 MB / 460.1 MB, free: 2.895 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002016/0.394, allocations: 0.7944 MB / 460.8 MB, free: 2.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.394, allocations: 8.062 kB / 460.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007978/0.3948, allocations: 289.7 kB / 461.1 MB, free: 1.781 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.3968, allocations: 272.7 kB / 461.4 MB, free: 1.516 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/0.4107, allocations: 5.585 MB / 467 MB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006542/0.4114, allocations: 0.8326 MB / 467.8 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009445/0.4124, allocations: 148.3 kB / 468 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/0.4128, allocations: 159.4 kB / 468.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4128, allocations: 0 / 468.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0893/0.5021, allocations: 50.83 MB / 0.5068 GB, free: 7.711 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002587/0.5024, allocations: 264.6 kB / 0.507 GB, free: 7.355 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.519/4.021, allocations: 0 / 0.507 GB, free: 7.355 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches