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.001593/0.001593, allocations: 106.5 kB / 16.41 MB, free: 6.516 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.001705/0.001705, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.294/1.294, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1972/0.1972, allocations: 43.53 MB / 314.1 MB, free: 440 kB / 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.001723/0.001724, allocations: 82.02 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1084, allocations: 57.78 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3758/0.4842, allocations: 147.6 MB / 0.6315 GB, free: 7.246 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008087/0.4923, allocations: 5.582 MB / 0.637 GB, free: 1.652 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007117/0.4931, allocations: 19.88 kB / 0.637 GB, free: 1.633 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.4943, allocations: 329.9 kB / 0.6373 GB, free: 1.309 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.4965, allocations: 0.8668 MB / 0.6382 GB, free: 448 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002728/0.4992, allocations: 1.031 MB / 0.6392 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00221/0.5015, allocations: 1.801 MB / 0.6409 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009261/0.5024, allocations: 461.9 kB / 0.6414 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.5039, allocations: 0.7669 MB / 0.6421 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.5051, allocations: 0.7008 MB / 0.6428 GB, free: 11.67 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.5054, allocations: 60 kB / 0.6429 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.5069, allocations: 0.5381 MB / 0.6434 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004961/0.5075, allocations: 267.2 kB / 0.6437 GB, free: 10.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009195/0.5084, allocations: 398.2 kB / 0.644 GB, free: 10.42 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.5107, allocations: 1.141 MB / 0.6452 GB, free: 9.281 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5107, allocations: 3.984 kB / 0.6452 GB, free: 9.277 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5107, allocations: 0 / 0.6452 GB, free: 9.277 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.39e-05/0.5107, allocations: 0 / 0.6452 GB, free: 9.277 MB / 494.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.002664/0.5134, allocations: 1.078 MB / 0.6462 GB, free: 8.148 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.5135, allocations: 11.89 kB / 0.6462 GB, free: 8.137 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001759/0.5137, allocations: 98.7 kB / 0.6463 GB, free: 8.031 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004313/0.5141, allocations: 96.45 kB / 0.6464 GB, free: 7.938 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009876/0.5151, allocations: 0.537 MB / 0.6469 GB, free: 7.359 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.5152, allocations: 104.6 kB / 0.647 GB, free: 7.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.901e-05/0.5153, allocations: 56.33 kB / 0.6471 GB, free: 7.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.5166, allocations: 0.8188 MB / 0.6479 GB, free: 6.312 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.5167, allocations: 3.938 kB / 0.6479 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-05/0.5168, allocations: 24 kB / 0.6479 GB, free: 6.285 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.129e-05/0.5168, allocations: 40.97 kB / 0.6479 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.5179, allocations: 0.6517 MB / 0.6486 GB, free: 5.594 MB / 494.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.004749/0.5226, allocations: 3.963 MB / 0.6525 GB, free: 1.348 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008249/0.5235, allocations: 432.1 kB / 0.6529 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/0.5238, allocations: 205.4 kB / 0.6531 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000614/0.5244, allocations: 0.7443 MB / 0.6538 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.5245, allocations: 38.89 kB / 0.6538 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.165e-06/0.5245, allocations: 0 / 0.6538 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003226/0.5277, allocations: 1.552 MB / 0.6553 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.94e-05/0.5278, allocations: 136.5 kB / 0.6555 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007459/0.5286, allocations: 0.5694 MB / 0.656 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.5286, allocations: 29.7 kB / 0.6561 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.5289, allocations: 363.9 kB / 0.6564 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.529, allocations: 174.5 kB / 0.6566 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.5293, allocations: 146.6 kB / 0.6567 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.5294, allocations: 370.8 kB / 0.6571 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.5298, allocations: 213.9 kB / 0.6573 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005927/0.5304, allocations: 0.5123 MB / 0.6578 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.5314, allocations: 0.764 MB / 0.6585 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.5314, allocations: 4 kB / 0.6585 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001638/0.5331, allocations: 0.9106 MB / 0.6594 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.5331, allocations: 11.94 kB / 0.6594 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.5331, allocations: 8 kB / 0.6594 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.5345, allocations: 291.2 kB / 0.6597 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.5349, allocations: 123.8 kB / 0.6598 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009878/0.5359, allocations: 0.8802 MB / 0.6607 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.5364, allocations: 31.94 kB / 0.6607 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-05/0.5365, allocations: 39.98 kB / 0.6608 GB, free: 8.219 MB / 0.4981 GB 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.00038/0.5369, allocations: 245.5 kB / 0.661 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.537, allocations: 67.58 kB / 0.6611 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.5384, allocations: 0.7729 MB / 0.6618 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.5385, allocations: 4 kB / 0.6618 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5385, allocations: 0 / 0.6618 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.5385, allocations: 3.938 kB / 0.6618 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.5405, allocations: 1.422 MB / 0.6632 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.5405, allocations: 0 / 0.6632 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.5415, allocations: 207.9 kB / 0.6634 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-05/0.5416, allocations: 24.84 kB / 0.6634 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.5416, allocations: 19.92 kB / 0.6634 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.5436, allocations: 2.869 MB / 0.6662 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5436, allocations: 7.969 kB / 0.6663 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.5449, allocations: 1.017 MB / 0.6672 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.5452, allocations: 204.6 kB / 0.6674 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.5454, allocations: 12 kB / 0.6675 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.5458, allocations: 19.98 kB / 0.6675 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.564e-05/0.5459, allocations: 39.67 kB / 0.6675 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.185e-05/0.5459, allocations: 24.61 kB / 0.6675 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005103/0.5464, allocations: 427 kB / 0.6679 GB, free: 360 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5464, allocations: 4.062 kB / 0.6679 GB, free: 356 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008339/0.5473, allocations: 223.8 kB / 0.6682 GB, free: 132 kB / 0.4981 GB 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.002084/0.5494, allocations: 1.72 MB / 0.6698 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.5506, allocations: 0.5993 MB / 0.6704 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/0.5506, allocations: 4 kB / 0.6704 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.5517, allocations: 462.2 kB / 0.6709 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.5533, allocations: 370.1 kB / 0.6712 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009281/0.5626, allocations: 6.494 MB / 0.6776 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.5632, allocations: 0.9424 MB / 0.6785 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006698/0.5638, allocations: 210 kB / 0.6787 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.5642, allocations: 235.3 kB / 0.6789 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of SimCode: time 6.81e-07/0.5642, allocations: 0 / 0.6789 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05008/0.6143, allocations: 22.54 MB / 0.7009 GB, free: 14.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.52, allocations: 4 kB / 0.7009 GB, free: 14.09 MB / 0.545 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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.csv","/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches