Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001556, allocations: 106.8 kB / 18.45 MB, free: 4.699 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.001891/0.001891, allocations: 183.1 kB / 19.38 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1955/0.1955, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 59.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.391, allocations: 60.83 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1783/0.5694, allocations: 147.6 MB / 0.6637 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007629/0.577, allocations: 5.59 MB / 0.6692 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007741/0.5778, allocations: 19.88 kB / 0.6692 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.579, allocations: 325.9 kB / 0.6695 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.5811, allocations: 0.8707 MB / 0.6703 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.5838, allocations: 1.028 MB / 0.6713 GB, free: 128 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002129/0.5859, allocations: 1.801 MB / 0.6731 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008279/0.5868, allocations: 469.3 kB / 0.6735 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.5882, allocations: 0.7669 MB / 0.6743 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.5894, allocations: 0.7008 MB / 0.675 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.5896, allocations: 68 kB / 0.675 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.5908, allocations: 0.5342 MB / 0.6756 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003104/0.5911, allocations: 275.2 kB / 0.6758 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005084/0.5916, allocations: 394.2 kB / 0.6762 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.5932, allocations: 1.141 MB / 0.6773 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.5932, allocations: 0 / 0.6773 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.735e-06/0.5932, allocations: 4 kB / 0.6773 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.107e-05/0.5933, allocations: 3.938 kB / 0.6773 GB, free: 9.977 MB / 0.5294 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.002323/0.5956, allocations: 1.078 MB / 0.6784 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.5957, allocations: 11.97 kB / 0.6784 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004103/0.5961, allocations: 88.47 kB / 0.6785 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008877/0.597, allocations: 0.5448 MB / 0.679 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.5971, allocations: 101 kB / 0.6791 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.225e-05/0.5972, allocations: 44.38 kB / 0.6791 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.5985, allocations: 0.8149 MB / 0.6799 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.5985, allocations: 7.938 kB / 0.6799 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-05/0.5986, allocations: 23.98 kB / 0.68 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-05/0.5987, allocations: 40.97 kB / 0.68 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.5997, allocations: 0.6479 MB / 0.6806 GB, free: 6.41 MB / 0.5294 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.004704/0.6044, allocations: 3.963 MB / 0.6845 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000794/0.6052, allocations: 432.2 kB / 0.6849 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.6056, allocations: 201.4 kB / 0.6851 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006195/0.6062, allocations: 0.7327 MB / 0.6858 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.6063, allocations: 46.86 kB / 0.6859 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=40): time 1.924e-06/0.6063, allocations: 0 / 0.6859 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.003363/0.6096, allocations: 1.558 MB / 0.6874 GB, free: 14.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.758e-05/0.6097, allocations: 132.5 kB / 0.6875 GB, free: 14.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006639/0.6104, allocations: 0.5732 MB / 0.6881 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/0.6105, allocations: 41.7 kB / 0.6881 GB, free: 14.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.6107, allocations: 355.9 kB / 0.6885 GB, free: 13.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.6109, allocations: 170.5 kB / 0.6886 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.6111, allocations: 142.6 kB / 0.6888 GB, free: 13.49 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.6112, allocations: 374.8 kB / 0.6891 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.6116, allocations: 217.9 kB / 0.6893 GB, free: 12.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/0.6121, allocations: 0.5162 MB / 0.6898 GB, free: 12.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.6132, allocations: 0.7562 MB / 0.6906 GB, free: 11.37 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.6132, allocations: 0 / 0.6906 GB, free: 11.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001653/0.6148, allocations: 0.922 MB / 0.6915 GB, free: 10.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.6149, allocations: 15.88 kB / 0.6915 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.6149, allocations: 15.94 kB / 0.6915 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.6163, allocations: 276.9 kB / 0.6918 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/0.6167, allocations: 119.8 kB / 0.6919 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009832/0.6177, allocations: 0.8905 MB / 0.6927 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004677/0.6181, allocations: 31.98 kB / 0.6928 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-05/0.6182, allocations: 32 kB / 0.6928 GB, free: 9.035 MB / 0.545 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.0003205/0.6186, allocations: 253.5 kB / 0.6931 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.6187, allocations: 75.64 kB / 0.6931 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.62, allocations: 0.7595 MB / 0.6939 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.62, allocations: 3.984 kB / 0.6939 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.62, allocations: 4 kB / 0.6939 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.6203, allocations: 200.6 kB / 0.6941 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.6204, allocations: 11.94 kB / 0.6941 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.6207, allocations: 15.98 kB / 0.6941 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-05/0.6208, allocations: 32.39 kB / 0.6941 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001631/0.6225, allocations: 0.6808 MB / 0.6948 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001205/0.6237, allocations: 0.9308 MB / 0.6957 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003172/0.624, allocations: 223.4 kB / 0.6959 GB, free: 5.773 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004539/0.6245, allocations: 411.1 kB / 0.6963 GB, free: 5.371 MB / 0.545 GB Notification: Performance of Backend: time 9.02e-07/0.6245, allocations: 4 kB / 0.6963 GB, free: 5.367 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001784/0.6263, allocations: 0.6751 MB / 0.697 GB, free: 4.695 MB / 0.545 GB Notification: Performance of SimCode: time 0.002793/0.6291, allocations: 1.916 MB / 0.6988 GB, free: 2.746 MB / 0.545 GB Notification: Performance of Templates: time 0.02504/0.6541, allocations: 14.65 MB / 0.7131 GB, free: 4.227 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches