Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.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.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",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.001651/0.001651, allocations: 109.5 kB / 17.73 MB, free: 5.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.00182/0.00182, allocations: 192.1 kB / 18.66 MB, free: 4.418 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.345/1.345, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001322/0.001322, allocations: 52.2 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09242/0.09375, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2038/0.2976, allocations: 26.59 MB / 401.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002906/0.3005, allocations: 2.228 MB / 403.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.157e-05/0.3007, allocations: 9.188 kB / 403.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.3011, allocations: 62.25 kB / 403.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004329/0.3015, allocations: 160.4 kB / 403.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.018/0.3195, allocations: 6.15 MB / 409.8 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006332/0.3202, allocations: 304.7 kB / 410.1 MB, free: 7.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.748e-05/0.3202, allocations: 16.89 kB / 410.1 MB, free: 7.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.3205, allocations: 133.6 kB / 410.3 MB, free: 7.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.3207, allocations: 123.8 kB / 410.4 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.3208, allocations: 10.5 kB / 410.4 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01732/0.3381, allocations: 9.396 MB / 419.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.3383, allocations: 62.92 kB / 419.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.3385, allocations: 93.86 kB / 420 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01206/0.3505, allocations: 4.684 MB / 424.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.3506, allocations: 0 / 424.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3506, allocations: 3.938 kB / 424.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3506, allocations: 0 / 424.6 MB, free: 13.95 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003227/0.3538, allocations: 1.108 MB / 425.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3539, allocations: 8.031 kB / 425.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.168e-05/0.354, allocations: 54.73 kB / 425.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.3541, allocations: 28.44 kB / 425.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.3544, allocations: 218.8 kB / 426.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.3544, allocations: 12.33 kB / 426.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.3545, allocations: 15.94 kB / 426.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007039/0.3552, allocations: 289.4 kB / 426.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3552, allocations: 4 kB / 426.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.3552, allocations: 8 kB / 426.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.3553, allocations: 4 kB / 426.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007789/0.356, allocations: 323.6 kB / 426.7 MB, free: 11.78 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.3575, allocations: 0.8165 MB / 427.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007179/0.3583, allocations: 253.1 kB / 427.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/0.3586, allocations: 139.6 kB / 427.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01597/0.3746, allocations: 12.85 MB / 440.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.3747, allocations: 42.5 kB / 440.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.335e-06/0.3747, allocations: 0 / 440.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002825/0.3775, allocations: 0.6812 MB / 441.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.3776, allocations: 85.05 kB / 441.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.3777, allocations: 129.7 kB / 441.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.3777, allocations: 33.64 kB / 441.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.3778, allocations: 104.9 kB / 441.8 MB, free: 10 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.133e-05/0.3779, allocations: 130 kB / 441.9 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.378, allocations: 77.62 kB / 442 MB, free: 9.793 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3782, allocations: 334.8 kB / 442.3 MB, free: 9.457 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.3786, allocations: 127.9 kB / 442.5 MB, free: 9.332 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/0.379, allocations: 211.6 kB / 442.7 MB, free: 9.098 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000909/0.3799, allocations: 351.5 kB / 443 MB, free: 8.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.38, allocations: 2.688 kB / 443 MB, free: 8.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001125/0.3811, allocations: 421.2 kB / 443.4 MB, free: 8.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3811, allocations: 8.219 kB / 443.4 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3811, allocations: 4 kB / 443.4 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3812, allocations: 4 kB / 443.4 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/0.3816, allocations: 99.8 kB / 443.5 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.3817, allocations: 7.938 kB / 443.5 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.3819, allocations: 21.86 kB / 443.6 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.382, allocations: 19.98 kB / 443.6 MB, free: 8.148 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.3821, allocations: 145.7 kB / 443.7 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.3823, allocations: 15.81 kB / 443.7 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.3828, allocations: 196.2 kB / 443.9 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/0.3828, allocations: 15.94 kB / 444 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3828, allocations: 0 / 444 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.3828, allocations: 3.984 kB / 444 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.3845, allocations: 0.7552 MB / 444.7 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3845, allocations: 0 / 444.7 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.3849, allocations: 75.88 kB / 444.8 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.385, allocations: 8.094 kB / 444.8 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.385, allocations: 20 kB / 444.8 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.385, allocations: 3.938 kB / 444.8 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.385, allocations: 7.984 kB / 444.8 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.3866, allocations: 0.6953 MB / 445.5 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.3867, allocations: 128.8 kB / 445.6 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.3868, allocations: 12.86 kB / 445.7 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003325/0.3871, allocations: 19.98 kB / 445.7 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.3872, allocations: 27.91 kB / 445.7 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.3872, allocations: 15.98 kB / 445.7 MB, free: 5.879 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.934e-05/0.3873, allocations: 103.3 kB / 445.8 MB, free: 5.777 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3873, allocations: 0 / 445.8 MB, free: 5.777 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002653/0.39, allocations: 0.9253 MB / 446.7 MB, free: 4.852 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005515/0.3955, allocations: 2.401 MB / 449.1 MB, free: 2.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.3965, allocations: 363.4 kB / 449.5 MB, free: 2.055 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.3965, allocations: 4.438 kB / 449.5 MB, free: 2.051 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004658/0.397, allocations: 175.8 kB / 449.7 MB, free: 1.879 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007162/0.3977, allocations: 94.03 kB / 449.8 MB, free: 1.789 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005476/0.4032, allocations: 3.116 MB / 452.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.4035, allocations: 0.7449 MB / 453.6 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003521/0.4039, allocations: 89.95 kB / 453.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.4041, allocations: 71.41 kB / 453.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4041, allocations: 0 / 453.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06404/0.4681, allocations: 34.02 MB / 487.8 MB, free: 11.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.982/9.45, allocations: 11.75 kB / 487.8 MB, free: 11.44 MB / 414.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches