Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",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.0009483/0.0009483, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001318, allocations: 176.9 kB / 16.91 MB, free: 6.648 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.566/1.566, allocations: 205.4 MB / 223.1 MB, free: 5.195 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.386/0.386, allocations: 43.57 MB / 315 MB, free: 8.945 MB / 254.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.0005075/0.0005077, allocations: 12 kB / 384.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1218, allocations: 58.86 MB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3839/0.5057, allocations: 144 MB / 0.5738 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008207/0.514, allocations: 5.659 MB / 0.5793 GB, free: 4.941 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008565/0.5149, allocations: 27.75 kB / 0.5794 GB, free: 4.914 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008691/0.5158, allocations: 282.5 kB / 0.5796 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.5177, allocations: 0.8127 MB / 0.5804 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.52, allocations: 0.9279 MB / 0.5813 GB, free: 2.906 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002442/0.5224, allocations: 2.667 MB / 0.5839 GB, free: 240 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006099/0.5231, allocations: 412.4 kB / 0.5843 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.5241, allocations: 0.6498 MB / 0.585 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009533/0.5251, allocations: 0.728 MB / 0.5857 GB, free: 14.45 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.634e-05/0.5252, allocations: 32 kB / 0.5857 GB, free: 14.42 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.5263, allocations: 0.5418 MB / 0.5862 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.5266, allocations: 239.2 kB / 0.5865 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004272/0.527, allocations: 395.9 kB / 0.5869 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.5282, allocations: 1.086 MB / 0.5879 GB, free: 12.16 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.5282, allocations: 0 / 0.5879 GB, free: 12.16 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5282, allocations: 0 / 0.5879 GB, free: 12.16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.5282, allocations: 0 / 0.5879 GB, free: 12.16 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001735/0.5299, allocations: 0.9208 MB / 0.5888 GB, free: 11.19 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.53, allocations: 8.031 kB / 0.5888 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.5301, allocations: 102.7 kB / 0.5889 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003089/0.5304, allocations: 88.08 kB / 0.589 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007209/0.5312, allocations: 0.5131 MB / 0.5895 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.5313, allocations: 101 kB / 0.5896 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.54e-05/0.5314, allocations: 48.94 kB / 0.5896 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.5326, allocations: 0.8305 MB / 0.5905 GB, free: 9.379 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.5326, allocations: 0 / 0.5905 GB, free: 9.379 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.674e-05/0.5327, allocations: 20 kB / 0.5905 GB, free: 9.359 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.454e-05/0.5327, allocations: 36.98 kB / 0.5905 GB, free: 9.324 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009506/0.5337, allocations: 0.6556 MB / 0.5912 GB, free: 8.668 MB / 462.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.004467/0.5382, allocations: 3.966 MB / 0.595 GB, free: 4.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007364/0.5389, allocations: 424.3 kB / 0.5954 GB, free: 4.004 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.5393, allocations: 205.4 kB / 0.5956 GB, free: 3.801 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005643/0.5398, allocations: 0.7365 MB / 0.5963 GB, free: 2.898 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.5399, allocations: 38.89 kB / 0.5964 GB, free: 2.852 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.5399, allocations: 0 / 0.5964 GB, free: 2.852 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.002978/0.5429, allocations: 1.539 MB / 0.5979 GB, free: 1.242 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.5429, allocations: 140.5 kB / 0.598 GB, free: 1.074 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006325/0.5436, allocations: 0.5731 MB / 0.5986 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.772e-05/0.5436, allocations: 37.7 kB / 0.5986 GB, free: 460 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.5439, allocations: 354.9 kB / 0.599 GB, free: 100 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.544, allocations: 161.7 kB / 0.5991 GB, free: 15.94 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-05/0.5441, allocations: 61.69 kB / 0.5992 GB, free: 15.87 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.5443, allocations: 374.8 kB / 0.5995 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.5446, allocations: 213.9 kB / 0.5997 GB, free: 15.29 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005629/0.5452, allocations: 0.524 MB / 0.6002 GB, free: 14.63 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009641/0.5462, allocations: 0.7523 MB / 0.601 GB, free: 13.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.5462, allocations: 4 kB / 0.601 GB, free: 13.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001554/0.5478, allocations: 0.9098 MB / 0.6019 GB, free: 12.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.5478, allocations: 11.94 kB / 0.6019 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.5478, allocations: 12 kB / 0.6019 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/0.5492, allocations: 289.1 kB / 0.6022 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.5495, allocations: 127.8 kB / 0.6023 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009551/0.5505, allocations: 0.8778 MB / 0.6031 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004659/0.551, allocations: 48.03 kB / 0.6032 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.551, allocations: 32 kB / 0.6032 GB, free: 11.41 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003176/0.5514, allocations: 263 kB / 0.6035 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-05/0.5515, allocations: 67.16 kB / 0.6035 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.5527, allocations: 0.7713 MB / 0.6043 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.5527, allocations: 8 kB / 0.6043 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.5527, allocations: 7.984 kB / 0.6043 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.5527, allocations: 3.938 kB / 0.6043 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.5545, allocations: 1.411 MB / 0.6057 GB, free: 8.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.5545, allocations: 4 kB / 0.6057 GB, free: 8.746 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009751/0.5555, allocations: 200.8 kB / 0.6059 GB, free: 8.551 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-05/0.5556, allocations: 24.84 kB / 0.6059 GB, free: 8.523 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.5556, allocations: 16.17 kB / 0.6059 GB, free: 8.508 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.5574, allocations: 2.686 MB / 0.6085 GB, free: 5.559 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5574, allocations: 3.938 kB / 0.6085 GB, free: 5.555 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.5587, allocations: 1.027 MB / 0.6095 GB, free: 4.473 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.559, allocations: 204.2 kB / 0.6097 GB, free: 4.254 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.931e-05/0.5591, allocations: 15.94 kB / 0.6098 GB, free: 4.238 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/0.5595, allocations: 31.92 kB / 0.6098 GB, free: 4.207 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.622e-05/0.5596, allocations: 36.02 kB / 0.6098 GB, free: 4.172 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.5597, allocations: 24.86 kB / 0.6098 GB, free: 4.148 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004895/0.5602, allocations: 431 kB / 0.6103 GB, free: 3.73 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5602, allocations: 0 / 0.6103 GB, free: 3.73 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007614/0.561, allocations: 216 kB / 0.6105 GB, free: 3.52 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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 {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002027/0.563, allocations: 1.711 MB / 0.6121 GB, free: 1.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.5642, allocations: 0.603 MB / 0.6127 GB, free: 1.145 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.5642, allocations: 0 / 0.6127 GB, free: 1.145 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009697/0.5652, allocations: 454.9 kB / 0.6132 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.567, allocations: 369.3 kB / 0.6135 GB, free: 344 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.5772, allocations: 6.968 MB / 0.6203 GB, free: 8.996 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.5777, allocations: 0.9424 MB / 0.6212 GB, free: 8.027 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007903/0.5785, allocations: 214.5 kB / 0.6214 GB, free: 7.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003352/0.5789, allocations: 235.4 kB / 0.6217 GB, free: 7.59 MB / 494.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5789, allocations: 3.938 kB / 0.6217 GB, free: 7.586 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2315/0.8104, allocations: 21.31 MB / 0.6425 GB, free: 150.9 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/0.8107, allocations: 308.9 kB / 0.6428 GB, free: 150.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/3.14, allocations: 0 / 0.6428 GB, free: 150.5 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches