Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001463/0.001463, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001882/0.001882, allocations: 197.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2162/0.2162, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 71.88 kB / 480.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3807, allocations: 62.44 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1835/0.5643, allocations: 150.5 MB / 0.6775 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007469/0.5718, allocations: 5.602 MB / 0.683 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006219/0.5724, allocations: 23.88 kB / 0.683 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009439/0.5734, allocations: 318 kB / 0.6833 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.5751, allocations: 0.8784 MB / 0.6842 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.5777, allocations: 1.017 MB / 0.6851 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002028/0.5797, allocations: 1.813 MB / 0.6869 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006372/0.5804, allocations: 457.4 kB / 0.6874 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.5816, allocations: 0.7863 MB / 0.6881 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009913/0.5826, allocations: 0.7125 MB / 0.6888 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.5827, allocations: 60 kB / 0.6889 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.584, allocations: 0.5576 MB / 0.6894 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.5843, allocations: 259.3 kB / 0.6897 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000467/0.5848, allocations: 410.2 kB / 0.6901 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.5865, allocations: 1.175 MB / 0.6912 GB, free: 12.68 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.5865, allocations: 0 / 0.6912 GB, free: 12.68 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5865, allocations: 0 / 0.6912 GB, free: 12.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.5865, allocations: 0 / 0.6912 GB, free: 12.68 MB / 0.545 GB 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.00201/0.5885, allocations: 1.074 MB / 0.6923 GB, free: 11.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.5886, allocations: 8.031 kB / 0.6923 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.5887, allocations: 98.69 kB / 0.6924 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003322/0.589, allocations: 100.4 kB / 0.6925 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008094/0.5898, allocations: 0.537 MB / 0.693 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.59, allocations: 101 kB / 0.6931 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.42e-05/0.5901, allocations: 52.11 kB / 0.6931 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.5913, allocations: 0.8188 MB / 0.6939 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.5913, allocations: 0 / 0.6939 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.377e-05/0.5914, allocations: 20 kB / 0.6939 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-05/0.5915, allocations: 40.97 kB / 0.694 GB, free: 9.664 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.5925, allocations: 0.6517 MB / 0.6946 GB, free: 9.012 MB / 0.545 GB 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.004484/0.597, allocations: 3.971 MB / 0.6985 GB, free: 4.762 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008567/0.5978, allocations: 431.3 kB / 0.6989 GB, free: 4.332 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.5982, allocations: 201.4 kB / 0.6991 GB, free: 4.133 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007118/0.5989, allocations: 0.7366 MB / 0.6998 GB, free: 3.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.599, allocations: 38.89 kB / 0.6999 GB, free: 3.184 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 3.606e-06/0.599, allocations: 0 / 0.6999 GB, free: 3.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.003394/0.6024, allocations: 1.565 MB / 0.7014 GB, free: 1.547 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.6025, allocations: 132.5 kB / 0.7015 GB, free: 1.387 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006624/0.6031, allocations: 0.5694 MB / 0.7021 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.6032, allocations: 37.7 kB / 0.7021 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/0.6035, allocations: 359.8 kB / 0.7024 GB, free: 416 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.6037, allocations: 178.6 kB / 0.7026 GB, free: 236 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.6039, allocations: 142.6 kB / 0.7028 GB, free: 88 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.6041, allocations: 370.8 kB / 0.7031 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.6044, allocations: 217.9 kB / 0.7033 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/0.605, allocations: 0.5123 MB / 0.7038 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00098/0.606, allocations: 0.7562 MB / 0.7046 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.606, allocations: 8 kB / 0.7046 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001648/0.6077, allocations: 0.9105 MB / 0.7054 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.6077, allocations: 16.06 kB / 0.7055 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.6078, allocations: 8 kB / 0.7055 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.6091, allocations: 284.6 kB / 0.7057 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.6095, allocations: 127.8 kB / 0.7059 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/0.6105, allocations: 0.8887 MB / 0.7067 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004649/0.611, allocations: 23.98 kB / 0.7068 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-05/0.6111, allocations: 40 kB / 0.7068 GB, free: 11.64 MB / 0.5606 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.0003732/0.6115, allocations: 248.8 kB / 0.707 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.6116, allocations: 67.58 kB / 0.7071 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.6129, allocations: 0.7752 MB / 0.7079 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.613, allocations: 4 kB / 0.7079 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.613, allocations: 0 / 0.7079 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.613, allocations: 7.922 kB / 0.7079 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.615, allocations: 1.413 MB / 0.7092 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.6151, allocations: 4 kB / 0.7092 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.6161, allocations: 207.9 kB / 0.7094 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.545e-05/0.6162, allocations: 24.84 kB / 0.7095 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.6162, allocations: 12 kB / 0.7095 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/0.6184, allocations: 2.882 MB / 0.7123 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6184, allocations: 0 / 0.7123 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.6199, allocations: 1.017 MB / 0.7133 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.6202, allocations: 204.6 kB / 0.7135 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.954e-05/0.6203, allocations: 15.98 kB / 0.7135 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.6207, allocations: 16 kB / 0.7135 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/0.6208, allocations: 35.89 kB / 0.7135 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/0.6209, allocations: 27.97 kB / 0.7136 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005438/0.6214, allocations: 427 kB / 0.714 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6215, allocations: 4.062 kB / 0.714 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008908/0.6223, allocations: 223.8 kB / 0.7142 GB, free: 3.555 MB / 0.5606 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.002204/0.6246, allocations: 1.715 MB / 0.7159 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001307/0.6259, allocations: 0.5992 MB / 0.7165 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.6259, allocations: 3.859 kB / 0.7165 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.6269, allocations: 454.7 kB / 0.7169 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.6285, allocations: 376.4 kB / 0.7173 GB, free: 372 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3249/0.9534, allocations: 6.494 MB / 0.7236 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005013/0.954, allocations: 0.9402 MB / 0.7245 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009905/0.955, allocations: 198 kB / 0.7247 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004346/0.9554, allocations: 239.1 kB / 0.7249 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/0.9555, allocations: 0 / 0.7249 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06868/1.024, allocations: 22.55 MB / 0.747 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.64, allocations: 6.609 kB / 0.747 GB, free: 161.2 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p